Question

Which of the following is a common programming technique to prevent SQL injection attacks?

A Encoding user inputs Correct Answer Incorrect Answer
B Allowing unrestricted input from users Correct Answer Incorrect Answer
C Using plain text for database storage Correct Answer Incorrect Answer
D Ignoring error messages Correct Answer Incorrect Answer

Solution

Encoding user inputs

Practice Next

Relevant for Exams:

×
×