Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

Re: ASP/PHP SQL Injection

Subject: Re: ASP/PHP SQL Injection
Date: 31 Aug 2006 04:58:04 -0000
Hi David,

In case of SQL Injection, we need to look out for code where there is
database query is formed espescially dynamic SQL which takes the parameter
directly from the user and embeds in the query.

Recommendation for SQL is using pre-complied SQL query which automatically
binds the respective datatypes to parameters.

In case of XSS, we need to mostly look for variables which are going to be
displayed back to the user.

Recommendation Sanitize the inputs like meta characters such as <,>,/ etc.
by using in built functions like HTMLEncode methods.


Hope this helps

Thanks
Pratiksha
Penetration Testing,CEH

---------------------------------------------------------------------------
This list is sponsored by: Norwich University

EARN A MASTER OF SCIENCE IN INFORMATION ASSURANCE - ONLINE
The NSA has designated Norwich University a center of Academic Excellence 
in Information Security. Our program offers unparalleled Infosec management 
education and the case study affords you unmatched consulting experience. 
Using interactive e-Learning technology, you can earn this esteemed degree, 
without disrupting your career or home life.

http://www.msia.norwich.edu/secfocus
---------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>