Which of the following can be mitigated with proper sec…

Which of the following can be mitigated with proper secure coding techniques?

Which of the following can be mitigated with proper secure coding techniques?

A.
Input validation

B.
Error handling

C.
Header manipulation

D.
Cross-site scripting



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Dominus

Dominus

Correct answer is D. Cross-site scripting. You can mitigate a cross-site script attack by validating the code input.

Bob

Bob

I don’t agree this is D. The question itself sounds incorrect to me because input validation, error handling and cross-site scripting are all covered under secure coding techniques:

https://www.owasp.org/index.php/Secure_Coding_Cheat_Sheet

If the question was which of the following CANNOT be mitigated, then potentially C is the answer.