← Quiz: HTTPS, Cookies and Headers: all 10 questions
Quiz: HTTPS, Cookies and Headers · Question 10 of 10
Why is leaving debug mode on in production dangerous?
Why is leaving debug mode on in production dangerous?
- A.It makes the site faster
- B.Error pages can reveal code, settings, paths and sometimes secrets to anyone
- C.It turns off HTTPS
- D.It deletes logs
Answer & explanation
Correct answer: Error pages can reveal code, settings, paths and sometimes secrets to anyone
Show users a generic error page and keep details in server logs.
Can you get the rest right without peeking?
Take the timed Quiz: HTTPS, Cookies and Headers quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →