QuestionQ114

VerifiedData and Database Security

Which of these code snippets could permit SQL injection?

Explanation

SQL injection is possible when untrusted request data is directly concatenated into a SQL statement. Retrieving name from request.form and embedding it between SQL string fragments allows an attacker-controlled value to change the statement's syntax or logic.

Community Discussion

No comments yet. Be the first to start the discussion!