Web developers are implementing error and exception handling in a web site application. Which of the following represents a best practice for this?

Web developers are implementing error and exception handling in a web site application. Which of the following represents a best practice for this?



A. Displaying a detailed error message but logging generic information on the error
B. Displaying a generic error message but logging detailed information on the error
C. Displaying a generic error message and logging generic information on the error
D. Displaying a detailed error message and logging detailed information on the error


Answer: B. Displaying a generic error message but logging detailed information on the error


Learn More :

Cyber Security Website Attacks

Learn More Multiple Choice Question :