News for hackers. Stuff that matters.
Re:No-SQL injection in Mongo PHP by SpikeGronim on Monday March 07, 2011 @02:54PM (#2298420)
It is a tradeoff between ease of use and security. These sorts of features require the developer to check every single query string consumer or you end up with gaping security holes. That will result in security exploits in any moderately large codebase with multiple developers, it's just a matter of time. I would much prefer to sanitize everything always and force the app developer to spend the 1 line of code to parse into an array when they want that feature.

There are no comments on this comment yet.