Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Web Security Pro Tip: Why You Shouldn’t Trust the HTML Password Input

DZone's Guide to

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.

· Performance Zone ·
Free Resource

xMatters delivers integration-driven collaboration that relays data between systems, while engaging the right people to proactively resolve issues. Read the Monitoring in a Connected Enterprise whitepaper and learn about 3 tools for resolving incidents quickly.

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 changetype="password" to type="text". Guess what? It works and displays the password in clear text. You have been warned!


3 Steps to Monitoring in a Connected Enterprise. Check out xMatters.

Topics:
security ,passwords ,html

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}