Q. What is the main purpose of input validation in security?
β
Correct Answer: (B)
Prevent malicious input and attacks
Explanation: Input validation ensures data integrity and guards against injection attacks.