this post was submitted on 13 Mar 2024
1011 points (96.9% liked)

Memes

45727 readers
895 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 

Brute force protection

@memes

you are viewing a single comment's thread
view the rest of the comments
[–] kryptonianCodeMonkey@lemmy.world 131 points 8 months ago (3 children)

And label the text box "username" when it only accepts email address.

[–] helpImTrappedOnline@lemmy.world 62 points 8 months ago (2 children)

Don't forget to have hidden password requirements and secretly truncate any password longer than 12 characters.

[–] kautau@lemmy.world 32 points 8 months ago

Well yeah, if you don’t truncate the password to 12 chars how will you fit the plaintext in a memory efficient fixed latin1 CHAR column that only accepts letters, numbers, and underscores

/s

[–] Buddahriffic@lemmy.world 3 points 8 months ago (1 children)

Battle.net used to not be case-sensitive for passwords, back in like the pre-wow era.

[–] helpImTrappedOnline@lemmy.world 1 points 8 months ago

Intresting. At least they got their act together, even making a physical totp authenticator in the 2000s.

[–] gravitas_deficiency@sh.itjust.works 13 points 8 months ago* (last edited 8 months ago) (1 children)

And then validate the email with a custom regex that definitely doesn’t account for all the valid syntax permutations defined by the several email-oriented RFCs

[–] MoonMelon@lemmy.ml 3 points 8 months ago

Only on mobile though, on desktop have different criteria. Perhaps give the text box an arbitrary max length of like 30 characters on sign-in but not on account creation.

[–] flambonkscious@sh.itjust.works 10 points 8 months ago (2 children)

You guys are evil - who shat on your pillow??

[–] bruhduh@lemmy.world 6 points 8 months ago
[–] JokerCharlie@lemmy.zip 2 points 8 months ago