It turns out that emoticons are considered a symbol, so they can beef up your passwords and make them more secure in combination with letters and numbers. Here’s how.
Not from passwords, from password fields. In the same way that ", ’ and various types of brackets can’t be used since they could be used for code injections.
Stripping characters from passwords, great idea! Right up there with truncating passwords that are too long.
Not from passwords, from password fields. In the same way that ", ’ and various types of brackets can’t be used since they could be used for code injections.
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.
Doing that is actually a great way to tell attackers that you’re vulnerable to that type of attack.
Bypassing those front end restrictions is super easy, and the attackers don’t need an account or a password to attack you.
It’s like putting a sign that says “lock fragile; don’t tug” on the door to your business.
Learn how to sanitise your database inputs first, damnit!
https://xkcd.com/327/