How can we prevent SQL Injection Attack?

How can we prevent SQL Injection Attack?

  1. a) Show the database error to the users
  2. b) Use input validation
  3. c) Use the user input directly
  4. d) Do not remove potential malicious code

From the Combined Bank Senior Officer October 2021 – Preliminary exam, question 50 of 108.

More from this paper