Multiple choice technology security

Leaving comments in HTML source code when an application leaves the development environment

  1. Is a good programming practice

  2. Is very useful during code reviews

  3. Is the recommended practice for secure code maintenance

  4. May give the attacker valuable information to perform an exploit

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Comments in HTML source code can reveal internal implementation details, file paths, server information, or logic that helps attackers understand the application structure and identify vulnerabilities. In production environments, this information should be removed or minimized.