Web Security · Junior · Question 56 of 75

Why should a login form say "Invalid email or password" instead of "This email doesn't exist"?

Explanation

Knowing which emails are registered helps credential stuffing and phishing. Keep messages and response times similar for both cases.

Further reading

Problem with a question

Web Security · Junior · question 56

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