Which defense mechanism can be used to mitigate SQL injection attacks in web applications?

  • CAPTCHA
  • Cross-Site Scripting (XSS)
  • Input Validation
  • Parameterized Queries
Parameterized Queries are a powerful defense mechanism against SQL injection attacks in web applications. They involve the use of placeholders for user input in SQL queries, which are then bound to parameter values at runtime. This prevents malicious input from being interpreted as part of the SQL query, effectively mitigating SQL injection attacks.
Add your answer
Loading...

Leave a comment

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