Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Happy to be connected here, but couldn't all of these be mitigated by limiting the login to the DB to only be granted SELECT permission to the table in question? Then any other statement would fail? Commented Apr 27, 2015 at 18:30
  • 8
    @RemarkLima, not necessarily - that's just the first bullet above. Depending upon the database variant, a user with SELECT access to one table may still be able to access system tables, system variables, functions, stored procedures... consider something like ' UNION ALL SELECT LOAD_FILE('/etc/passwd') -- (from SQL Injection Wiki) Commented Apr 27, 2015 at 18:46