📞 0339-0387701 (WhatsApp) Contact

« Back to Information & Networking (NCCIA)

Why should error messages in a web application not reveal database details?

A. Because errors are illegal
B. Because errors slow the site
C. Because errors use more bandwidth
D. Because detailed errors help attackers learn about the system structure ✅

Correct Answer: D. Because detailed errors help attackers learn about the system structure

Explanation

Verbose errors can reveal table names or SQL syntax that aid further attacks.