medium
Single Answer
0Isaac is reviewing his organization’s secure coding practices document for customer-facing web applications and wants to ensure that their input validation recommendations are appropriate. Which of the following is not a common best practice for input validation?
Answer Options
A
Ensure validation occurs on a trusted server.
B
Validate all client-supplied data before it is processed.
C
Validate expected data types and ranges.
D
Ensure validation occurs on a trusted client.
Correct Answer: D
Explanation
Isaac knows that trusting client systems to be secure is not a good idea, and thus ensuring that validation occurs on a trusted client is not an appropriate recommendation. Ensuring that validation occurs on a trusted server, that client data is validated, and that data types and ranges are reasonable are all good best practices for him to recommend.