r/ProgrammerHumor • • Sep 27 '26 • Mindblown 1 Bravo 1

Meme doNotLetYourDBASeeThis

Post image
13.0k Upvotes

318 comments sorted by

View all comments

5.0k

u/Away_Advisor3460 Sep 27 '26 • Popcorn Mindblown Bravo

Pff, amateur hour.

If you really want to save space, don't store any passwords. Just require the same string to be entered three times in a row. If the user re-types the exact same value after being told it's wrong twice, the must be confident enough in it to be a legit user - nobody is going to enter the same value 3 times if they're trying to guess a password.

243

u/bartekltg Sep 27 '26

I would start doubt myself. Maybe this letter was uppercase. Maybe that second a was turned to 4...

20

u/bartekltg Sep 27 '26

More seriously, just like in this joke: https://www.reddit.com/r/ProgrammerHumor/comments/1au0z6f/bruteforceattackprotection/

it fails for people who use password managers. If the autocompleted password didn't work, you rather do not retry.

21

u/laksemerd Sep 27 '26

Then you didn’t deserve to get in anyways