News for hackers. Stuff that matters.
Re:Ask HN: What do you do to avoid SQL injection attacks? by benologist on Thursday April 05, 2012 @08:29PM (#3805385)
Parameterized queries - gist of it is it stops you concatenating a bunch of your and their strings together to form your SQL statement.
Re:Ask HN: What do you do to avoid SQL injection attacks? by joubee on Thursday April 05, 2012 @08:34PM (#3805400)
codinghorror.com: Give me parameterized SQL, or give me death

http://www.codinghorror.com/blog/2005/04/give-me-parameteriz...

I have fairly strong feelings when it comes to the stored procedures versus dynamic SQL argument, but one thing is clear: you should never, ever use concatenated SQL strings in your applications. Give me parameterized SQL, or give me death. There are two good reasons you should never do this.

[I need to spend some time looking at this - tyvm benologist]

Re:Ask HN: What do you do to avoid SQL injection attacks? by jordhy on Friday April 06, 2012 @03:29AM (#3806305)
Precisely. I use obfuscated store procedures.