Parameters in non-query commands help prevent ___________ attacks.

  • Cross-Site Request Forgery (CSRF)
  • Cross-Site Scripting (XSS)
  • Denial of Service (DoS)
  • SQL Injection
SQL Injection attacks occur when malicious SQL code is inserted into input fields of an application, potentially allowing an attacker to execute unauthorized SQL commands. By using parameters in non-query commands, such as prepared statements or parameterized queries, input values are treated as data rather than executable code, thereby reducing the risk of SQL Injection attacks.
Add your answer
Loading...

Leave a comment

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