7
Recently we are on a wave to use the combination of input
of passwords with the option to hide/display the password (*** -> abc), with the "eye" technique. I understand this purpose as it greatly improves the side of UX
of the application.
I know one of the reasons to use type="password"
would hide the password from the "curious" eyes around. But other than that, I’d like to know if there’s any deeper security issues that might involve the input
and the password itself.
Because if there is, we should make the user change back the input
for the guy password
before sending any information.
It is only to hide the password even, has absolutely no extra benefit of security. So much so that you can take the full text of the password with javascript, or simply change its type to text by the element inspector.
– Neuber Oliveira
In addition to the points cited by @Neuberoliveira there is also one more thing, when the field is to type password, it is impossible to copy the content using
Ctrl + C
(at least on Linux and Windows). But as he said himself, it is possible to capture the content using Javascript.– Avelino