What is the purpose of input validation in secure coding?
-
A
To ensure data conforms to expected formats before processing, preventing injection and logic flaws
-
B
To encrypt all user-submitted data at rest
-
C
To log all user interactions for audit purposes
-
D
To throttle requests and prevent denial of service