Writing Secure SQL Queries
February 25th, 2008 by Andrew WellsWriting secure SQL queries can be one of the most important factors in your site’s security, yet I see so many people that don’t do it. So many programmers write queries that “just work” taking little consideration of the malicious potential of unsecured code - SQL queries included. This post is going to show some examples of bad queries in MySQL and how to correct them.