GIAC
GWAPT · Question #31
You find that a search input field allows SQL injection. Which action should you recommend?
The correct answer is A. Use parameterized queries to handle input. See the full explanation below for the reasoning.
Question
You find that a search input field allows SQL injection. Which action should you recommend?
Options
- AUse parameterized queries to handle input
- BRestrict search results to authenticated users
- CEnable verbose error reporting
- DIncrease the size of the input field
How the community answered
(26 responses)- A73% (19)
- B4% (1)
- C15% (4)
- D8% (2)
Community Discussion
No community discussion yet for this question.