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

Difference between revisions of "Query Parameterization"

From OWASP
Jump to: navigation, search
(Created page with "{{Template:Stub}} {{Template:Control}} ==Description== Query parameterization refers to the process of building database queries in application code in a specialized way. Q...")
 
Line 27: Line 27:
 
==Related Countermeasures==
 
==Related Countermeasures==
  
 +
[[Category: Control]]
  
[[Category: Control]]
+
{{taggedDocument}}

Revision as of 20:29, 14 August 2014

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.

Description

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.

Examples

Related Threats

Related Attacks

Related Vulnerabilities

Related Countermeasures


This page has been tagged and needs review. Please help OWASP and document the reason for this, see FixME.