News for hackers. Stuff that matters.
Re:Developer error: The most dangerous programming mistakes by praptak on Saturday July 02, 2011 @02:56PM (#2722196)
You are correct. Note that what you described is not "validating the input checking for harmful SQL code". The latter is a specific case of "enumerating badness", which is a known mistake security wise. Edit: fortunately in the actual list of the errors the advice given is not to check for harmful code, but to whitelist known safe input.
Re:Developer error: The most dangerous programming mistakes by cheez on Saturday July 02, 2011 @03:06PM (#2722211)
Yeah sure, if someone really wants the user name cheez"; DROP TABLE USERS; that's up to them :-)