Mercredi 02 Décembre 2026 19:45:42 GMT+01:00

Netcrook

AccueilManifeste
Actualités
Techcrook
Geocrook
WikicrookÉquipeAppContact
EnglishItaliano

WIKICROOK

Parameterization

A safer query method that keeps data separate from SQL logic by using placeholders.

Parameterization is a safer way to build database queries by separating SQL logic from user-supplied data. Instead of inserting input directly into a query string, an application sends placeholders or bind variables and passes the values separately. The database then treats those values as data, not as code.

This matters because it is one of the main defenses against SQL injection. When developers concatenate input into SQL, an attacker may be able to change the meaning of the query, read data they should not see, or modify records. In contrast, properly parameterized queries help framework layers and application code keep a clear trust boundary. Security teams look for parameterization in database drivers, ORM usage, and custom SQL paths, because one unsafe query can undermine an otherwise secure system.

← index WIKICROOK