Which of these is an effective practice to prevent SQL Injection?

  • Disabling error messages
  • Input validation and sanitization
  • Storing passwords in plain text
  • Using default database credentials
Input validation and sanitization are effective practices to prevent SQL Injection by ensuring that user input is safe and doesn't contain malicious SQL code.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *