I need to allow users to change their password and as such I have 2 fields on a form:
To keep the operation private for the user, the obvious choice to use is input type="password" field - which is what I am trying to do.
However, browser password managers keep offering to auto-fill the fields, an activity which simply makes no sense in this context.
In fact, in my opinion, the practice is actively insecure, because it increases the likelihood that people will choose passwords "similar" to what they currently have, by accepting what is offered by the password manager and making minor adjustments. (just a quick note that there's no need to mention that safeguards to ensure difference can be put in place as I'm aware of this - thanks)
I have already done a lot of research to try to disable the password managers, including:
But, while some approaches work partially, nothing works consistently.
The only thing that I can find to do that seems to have shot at succeeding is using a type="text" and displaying circles by using a dummy "password" font.
However, this approach feels like I am fighting the browsers, and I just cannot credit that there is no easy way to enter "hidden" text without having the password manager involved.
Additional notes:
Hence this question. Is there possibly any password guru out there who knows how to disable the password managers when entering hidden text? Thanks!
Method 1: One of the known methods is to use autocomplete attribute to prevent browser to remember the password. In the input field, if we define autocomplete=”off” then many times the input value is not remembered by the browser.
Set the following policies: Disable the policy Enable AutoFill for addresses. Disable the policy Enable AutoFill for credit cards. Under "Password manager and protection," disable the policy Enable saving passwords to the password manager.
Use the <input> tag with autocomplete attribute. Set the autocomplete attribute to value “off”.
Try to remove "name" attributes from the inputs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With