During a code audit, a developer notices that error messages reveal sensitive information about the system's internal structure. This practice goes against the secure coding principle of ____________.

  • Defense in Depth
  • Error Handling and Logging
  • Least Privilege Principle
  • Principle of Least Astonishment (POLA)
The secure coding principle violated in this scenario is "Error Handling and Logging." Revealing sensitive information through error messages can aid attackers in understanding the system's internal structure, facilitating potential exploits. Secure coding practices emphasize proper error handling to avoid leaking sensitive details and maintaining a robust defense against unintended information disclosure.__________________________________________________
Add your answer
Loading...

Leave a comment

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