Ability to disable password autofill + generation on a per site basis
Categories
(Toolkit :: Password Manager, enhancement, P3)
Tracking
()
People
(Reporter: mczack, Assigned: serg)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
Steps to reproduce:
- Turn on Strong Password Generation
- Browse to sites where certain fields trigger the password generation
- Passwords generated goes against certain internal policies (I know), or Firefox offers to generate a password in a non-password field.
Expected results:
We'd like a preference to be able to disable this from a site by site level OR disable only strong preference generation
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Form Autofill' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
(In reply to Zack McCauley from comment #0)
- Passwords generated goes against certain internal policies (I know), or Firefox offers to generate a password in a non-password field.
Can you point to an example or a reduced test case where Firefox is offering to generate a password on a non-password field? Is this a type=password input that is used for some other content that should be masked?
| Reporter | ||
Comment 3•4 years ago
|
||
We've had folks report it on our internal benefits portal (I've not been able to replicate this) for items like SSN/ID numbers that are *'d out.
We'd like a preference to be able to disable this from a site by site level OR disable only strong preference generation
Using signon.generation.enabled = false in the additional preferences control for policies works for our immediate need but is a bit overkill so we're gonna push back hard as well.
Ideally this could be extended to password manager exclusions (including generation, password save prompts, and autofill) for specified sites.
Comment 4•4 years ago
|
||
Zack, what might work for you is if you're able to add the internal benefits portal to the "Exceptions" list in about:preferences -> Privacy & Security -> Logins and Passwords -> Exceptions. I don't know if you're able to add websites to that list via policy or not (I'm assuming you mean some enterprise policy that is loaded into Firefox, I'm not very familiar with how we handle things like that...it's outside my wheelhouse), that's something I would need to look up.
items like SSN/ID numbers that are *'d out.
Sounds like these input fields are using type=password in order to hide the currently shown characters. We could work around this, but we would have to look at "hints" on the input field itself to determine if it's really a password input or not. We might have something like this in the backlog already, I'll search around sometime for it.
NI'ing myself so I can visit this later.
Comment 5•4 years ago
|
||
Hey Zack, can you get us the SSN/ID field HTML from the internal benefits portal? Knowing what this field looks like can help give us hints as to whether or not we should use it as a password field or not.
Comment 6•4 years ago
|
||
Adding :mkaply to CC list.
Comment 7•4 years ago
|
||
I can look into adding a policy interface for adding exceptions.
I checked and Chrome doesn't have anything like this.
Idea for password field - provide a way to specify the password policy in the HTML so we can generate the correct thing. Plus then the password policy would be a defined thing (instead of the horribleness we have on the web today)
| Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #7)
Idea for password field - provide a way to specify the password policy in the HTML so we can generate the correct thing. Plus then the password policy would be a defined thing (instead of the horribleness we have on the web today)
I believe there is a way to specify it in HTML https://developer.apple.com/documentation/security/password_autofill/customizing_password_autofill_rules , but I don't know how much it is adopted or supported.
Comment 9•4 years ago
•
|
||
(In reply to Sergey Galich from comment #8)
I believe there is a way to specify it in HTML https://developer.apple.com/documentation/security/password_autofill/customizing_password_autofill_rules , but I don't know how much it is adopted or supported.
Yes, the passwordrules attribute is still under discussion. We are not supporting it now, I believe Chrome and Safari don't support the attribute as well.
Comment 10•4 years ago
|
||
Enhancements are N/A.
Updated•4 years ago
|
Description
•