Web Security · Junior · Question 75 of 75

Why are detailed error messages with stack traces dangerous in production?

Explanation

Show users a generic message with an error ID, and log the details on the server where only the team can see them.

Further reading

Problem with a question

Web Security · Junior · question 75

Test yourself

Take the Web Security · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz