On Fri, Jun 24, 2011 at 11:30 PM, Ken Dibble <[email protected]> wrote: > >> > In order to execute code that modifies a table you have to have a valid >> > EXECUTABLE statement, right? >> > >> > So something like "DROP TABLE" would be a bad thing. What I don't >> > understand is how any sane person would design a query interface that >> > results in a statement like "DROP TABLE" being *executed*. >>---------------------- >> >><http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/> > > Well yeah, if you have complete unfettered access to a server you can, I > imagine, run any number of horrible exectable statements on it. However it > would appear that all of these multitudinous examples rely on just two > basic obvious dimwitted moves: > > 1. Allowing somebody to type in the name of a table or field instead of > making them choose it from a list of valid options. > > 2. Somehow allowing strings to be entered into a SQL statement without > enclosing them in appropriate delimiters. > > So again I ask, why would anybody design a data-entry or query interface > that lets people do that? --------------------------------------------------
How do people login in your applications? Find anything by user supplied search via Name. Stephen Russell Unified Health Services 60 Germantown Court Suite 220 Cordova, TN 38018 Telephone: 888.510.2667 901.246-0159 cell _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

