Web Security Pro Tip: Why You Shouldn’t Trust the HTML Password Input
Curious if the HTML password input actually protects your login info? You may be surprised.
Join the DZone community and get the full member experience.Join For Free
This week, I wanted to make a simple experiment. For sure, all applications we develop make use of HTTPS to encrypt the login/password but what happens before?
Let’s say I typed my login/password but before sending them, I’m called by my colleague and I leave my computer open. My password is protected by the HTML password input, right? It shows stars instead of the real characters. Well, it’s stupidly easy to circumvent this. If you use a developer workstation and have developer tools on your browser, just live edit the page and change
type="text". Guess what? It works and displays the password in clear text. You have been warned!
Published at DZone with permission of Nicolas Frankel. See the original article here.
Opinions expressed by DZone contributors are their own.