Re:How not to protect against SQL injection (view source)
by tptacek on Tuesday March 29, 2011 @05:59PM
(#2384688)
Of course you can build these queries safely.
Of course you should use prepared statements when possible.
But web devs do have a bad habit of saying "we're safe, we used prepared statements", and then losing their app within 5 minutes because of the code than handles sortable columns in their table views.
Of course you should use prepared statements when possible.
But web devs do have a bad habit of saying "we're safe, we used prepared statements", and then losing their app within 5 minutes because of the code than handles sortable columns in their table views.