450
you are viewing a single comment's thread
view the rest of the comments
[-] cactusupyourbutt@lemmy.world 11 points 1 day ago

I keep hearing that, yet the websites will gladly tell you that the username is taken when trying to register

[-] meekah@discuss.tchncs.de 3 points 13 hours ago

I'd assume the spam protection for signing up is a lot tighter than the one for logging in

[-] marius@feddit.org 3 points 18 hours ago

There are also a lot of websites where you first just enter a username and only when that is valid they ask for a password

[-] howrar@lemmy.ca 1 points 1 day ago* (last edited 1 day ago)

That's easy to do. You just check that the username exists. If someone enters a wrong username/password pair, you can still check that the username exists, but how do you know that the user intended to log in with that username? You would also have to check every other username to see if the password matches, and that can't be done with a simple search because you need to compute a different hash for each user you check. Then if the username exists and the password also happens to match someone else's password, then what do you report? Should you even report it? Because doing so reveals that someone had that specific password, and if the list of usernames is publicly available (which they often are, or could become public through a leak of some sort), then you can brute force over a small set of usernames to match them up.

this post was submitted on 10 Apr 2026
450 points (91.1% liked)

Programmer Humor

30885 readers
1141 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS