qaz@lemmy.world to Mildly Infuriating@lemmy.worldEnglish · edit-21 month agoPlease pick a password starting with ad and ending with minlemmy.worldimagemessage-square143fedilinkarrow-up1487arrow-down123file-text
arrow-up1464arrow-down1imagePlease pick a password starting with ad and ending with minlemmy.worldqaz@lemmy.world to Mildly Infuriating@lemmy.worldEnglish · edit-21 month agomessage-square143fedilinkfile-text
minus-squareexpr@programming.devlinkfedilinkEnglisharrow-up58·1 month agoAt minimum you need to limit the request size to avoid DOS attacks and such. But obviously that would be a much larger limit than anyone would use for a password.
minus-squareowsei@programming.devlinkfedilinkEnglisharrow-up27·1 month agoAlso rate of the requests. A normal user isn’t sending a 1 MiB password every second
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up4·1 month agoWhat’s a sensible limit. 128 bytes? Maybe 64?
minus-squareowsei@programming.devlinkfedilinkEnglisharrow-up8·1 month agoI’d say 128 is understandable, but something like 256 or higher should be the limit. 64, however, is already bellow my default in bitwarden
At minimum you need to limit the request size to avoid DOS attacks and such. But obviously that would be a much larger limit than anyone would use for a password.
Also rate of the requests. A normal user isn’t sending a 1 MiB password every second
What’s a sensible limit. 128 bytes? Maybe 64?
I’d say 128 is understandable, but something like 256 or higher should be the limit. 64, however, is already bellow my default in bitwarden