Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Input validation, output encoding » ?

Aussi appelé : input validation · output encoding

Definition 29.5 University Computer Science — Year 3 · Chapitre 29 — Software Security

Input validation checks, where data enters, that it has the expected form, preferably against a list of what is allowed, and rejects the rest. Output encoding rewrites data where it leaves for an interpreter, according to that interpreter’s syntax, so that every character is read as data: HTML escaping for a web page, quoting for a shell, placeholders for SQL.

Lire dans le chapitre →