Home »
MCQs »
SQL MCQs »
SQL Injection MCQs
At which of the following stage does SQL Injection occurs?
2. At which of the following stage does SQL Injection occurs?
- When the user is asked to logout
- When the user is asked to input password
- When the user is asked to input captcha
- When the user is asked to input username
Answer: D) When the user is asked to input username
Explanation:
SQL Injection occurs when the user is asked to input a username. In replacement of the name or the user ID, a SQL statement is provided by the user.