Which type of SQL query is in the SQL statement select * from users where user = “admin”;?
- static query
- stacked query
- out-of-band query
- parameterized query
Explanation & Hint: The best mitigation for SQL injection vulnerabilities is to use immutable queries, including:
Immutable queries do not contain data that could be interpreted. Sometimes, they process the data as a single entity bound to a column without interpretation. In this case, it is an example of static queries. |