This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit

Query Parameterization

Jump to: navigation, search
This page has been tagged and needs review. Please help OWASP and document the reason for this, see FixME.
This article is a stub. You can help OWASP by expanding it or discussing it on its Talk page.

This is a control. To view all control, please see the Control Category page.


Query parameterization refers to the process of building database queries in application code in a specialized way. Query parameterization first defines all static SQL code, and then passes in each parameter to the query in a separate section of code. This coding style allows the database to distinguish between code and data, regardless of what user input is supplied, and successfully defends against SQL Injection.


Related Threats

Related Attacks

Related Vulnerabilities

Related Countermeasures