AP® Cybersecurity glossary

Input sanitization

Also called: sanitizing input

Course: AP® Cybersecurity Shows up in: Unit 5: Securing Applications and Data

Using a verification function to remove potentially malicious characters from user input, or reject it, before processing.

Appears in the course and exam description (CED): 5.5.B.2

Why it matters in Unit 5

Protects against SQL injection, XSS and directory traversal.

Example

Stripping < and > from a comment before saving it.

Learn it properly, with a checkpoint 5.5 Protecting Applications

Related terms

Was this page helpful?

Please do not include personal details. To get a reply, email [email protected].

Contents
↑ Top

Enlarged view of the selected figure