On Dec 11, 2009, at 9:55 PM, Paul Bohme wrote:

> Not really.  It's a simple fact that escaping user data into a SQL string is 
> using user input as executable.  Can't do that in environments that I work 
> in.  If it were that easy, we wouldn't still be playing an eternal game of 
> whack-a-mole with SQL injection attacks everywhere.

Hmmm... heard good thing about schema and access right... after all, if the 
schema used to access you data can one perform a select... SQL injection become 
irrelevant, no? In other words, it seems a bit pointless to try to secure every 
single random client access, when one can (and should) instead secure the 
database itself.

> 
> Being able to bind values to a query keeps data as data, and denies it any 
> even conceptual chance to become code.  Thus, in environments that are 
> sensitive to security, simple escaping is insufficient.

Well, a "security sensitive" environment shouldn't allow the execution of 
random DDL anyway. Otherwise this sound like security theatre :)


_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to