How to Prevent SQL Injection Vulnerability? Website Security

Hi webmasters and budding Pen Testers, I hope you read my article about SQL Injection. Our Aim is to provide Security, right? So here is the prevention techniques.




Use Prepared Statements:

Use prepared statements, parameterized queries, or stored procedures. Don't use Dynamic SQL.
In Java you can use PreparedStatement() with bind variables 
In .NET you can use parameterized queries, such as

Lorem ipsum is simply dummy text of the printing and typesetting industry.

Comments