GIAC
GPEN · Question #174
Which of the following can be used as a countermeasure against the SQL injection attack? Each correct answer represents a complete solution. Choose two.
Sign in or unlock GPEN to reveal the answer and full explanation for question #174. The question stem and answer options stay visible for context.
Web Application Penetration Testing
Question
Which of the following can be used as a countermeasure against the SQL injection attack? Each correct answer represents a complete solution. Choose two.
Options
- Amysql_escape_string()
- Bsession_regenerate_id()
- Cmysql_real_escape_string()
- DPrepared statement
Unlock GPEN to see the answer
You've previewed enough free GPEN questions. Unlock GPEN for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#SQL injection#prepared statements#input sanitization#web defenses