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