Ever log on to a website with your username and password and get an error like “Incorrect credentials”? Honestly, when this happens to me, I feel the website wasn’t properly coded. I mean, if there’s a mistake in my login detail, why not just specify it for me — like “Your password is wrong” or “Username not found”?

That’s what I used to think, until I began to understand the logic behind it. That vague message isn’t just there to frustrate us — it’s there to protect us. It’s one of those small but powerful examples of secure coding in action. See, if a website tells you exactly what’s wrong, it also tells potential attackers what’s right. Saying “username not found” gives away a valid email pattern. Saying “wrong password” confirms an account exists. By keeping the error message g…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help