Salamendacious@lemmy.world to Technology@lemmy.worldEnglish · 2 years agoSecurity expert reveals surprising way to make your password stronger: use emojisnypost.comexternal-linkmessage-square228linkfedilinkarrow-up1332arrow-down148
arrow-up1284arrow-down1external-linkSecurity expert reveals surprising way to make your password stronger: use emojisnypost.comSalamendacious@lemmy.world to Technology@lemmy.worldEnglish · 2 years agomessage-square228linkfedilink
minus-squareUsername@feddit.delinkfedilinkEnglisharrow-up10arrow-down1·2 years agoThat’s not how any of this works. First of all, stripping passwords is never okay. You can reject the password and let the user choose a new one, but never just modify it on your own. Then, if your system is at risk of code injection by certain characters in user input, please just shut it down and never turn it on again.
minus-squareHonytawk@lemmy.ziplinkfedilinkEnglisharrow-up3arrow-down1·2 years agoLearn how to sanitise your database inputs first, damnit! https://xkcd.com/327/
deleted by creator
That’s not how any of this works.
First of all, stripping passwords is never okay. You can reject the password and let the user choose a new one, but never just modify it on your own.
Then, if your system is at risk of code injection by certain characters in user input, please just shut it down and never turn it on again.
Learn how to sanitise your database inputs first, damnit!
https://xkcd.com/327/