Data validation
Also called: input validation
Course: AP® Cybersecurity Shows up in: Unit 5: Securing Applications and Data
Verifying that user input meets the expected criteria, such as digits for a quantity, before processing it, and rejecting anything outside the expected parameters.
Appears in the course and exam description (CED): 5.1.B.2
Why it matters in Unit 5
Applications that skip it are vulnerable to injection-type attacks.
Example
A quantity field that refuses “3; DROP TABLE”.
Learn it properly, with a checkpoint 5.1 Application and Data Vulnerabilities and Attacks