← Quiz: Broken Access Control: all 10 questions
Quiz: Broken Access Control · Question 5 of 10
Why can it be better to return 404 instead of 403 for someone else's record?
Why can it be better to return 404 instead of 403 for someone else's record?
- A.404 is faster
- B.403 confirms that the record exists
- C.Browsers cache 403
- D.404 logs the user out
Answer & explanation
Correct answer: 403 confirms that the record exists
A 404 for both "doesn't exist" and "not yours" reveals nothing about other users' records.
Can you get the rest right without peeking?
Take the timed Quiz: Broken Access Control quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →