How can we prevent SQL Injection attack?

10. How can we prevent SQL Injection attack?

  1. We should pre-define the input type, input field and length of the user data to validate the input for the user authentication.
  2. Access privileges should be restricted for the users
  3. Administrator accounts should not be used.
  4. All of the above

Answer: D) All of the above

Explanation:

In order to prevent the SQL Injection attack, we should pre-define the input type, input field, and length of the user data to validate the input for the user authentication. Access privileges should be restricted for the users and administrator accounts should not be used.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.