← Quiz: SQL Injection: all 10 questions
Quiz: SQL Injection · Question 8 of 10
Why should the web application's database user not have DROP permission?
Why should the web application's database user not have DROP permission?
- A.DROP is slow
- B.If an injection slips through, least privilege limits the damage the attacker can do
- C.Databases do not support DROP
- D.It prevents all SQL injection
Answer & explanation
Correct answer: If an injection slips through, least privilege limits the damage the attacker can do
Least privilege is a defence-in-depth layer, not a replacement for parameters.
Can you get the rest right without peeking?
Take the timed Quiz: SQL Injection quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →