X
Tap here to go to the mobile version of the site.

Support Forum

hide saved password button from firefox quantum

Posted

My employer has a certain setup, to login to the e-mail a password is needed, this is automatically filled in since we saved the password in firefox. This was setup this way to ensure employees don't need the password. In fact they're not allowed to know the password, however firefox has a show password option, which allows them to see the password anyway:S

Is there anyway for this setup to work? like hide the show saved password button orso? (employees use local accounts, aren't allowed to install anything etc, so just hiding that should be fine if I'm not mistaken) Obviously a master password won't work, since they'll need to fill in the master password when they want to login to the mail, if they can do that, then they can also access the show password option.

Any help would be very much appreciated, basicly we want our employees to login to the mail, without them knowing the password.

My employer has a certain setup, to login to the e-mail a password is needed, this is automatically filled in since we saved the password in firefox. This was setup this way to ensure employees don't need the password. In fact they're not allowed to know the password, however firefox has a show password option, which allows them to see the password anyway:S Is there anyway for this setup to work? like hide the show saved password button orso? (employees use local accounts, aren't allowed to install anything etc, so just hiding that should be fine if I'm not mistaken) Obviously a master password won't work, since they'll need to fill in the master password when they want to login to the mail, if they can do that, then they can also access the show password option. Any help would be very much appreciated, basicly we want our employees to login to the mail, without them knowing the password.

Chosen solution

Note that it is likely that you need to lock this pref via an autoconfig.cfg file.

//

// disable Saved Passwords
lockPref("pref.privacy.disable_button.view_passwords", true);
Read this answer in context 1
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15

More Information

Question owner

should note, found some solutions, but none for firefox quantum.

should note, found some solutions, but none for firefox quantum.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
199 solutions 1671 answers

Hello Vamps,

Would you try this please :

Type in the address bar about:config and press Enter (promise to be careful, if asked)

Type in the search bar and look for the preference :

pref.privacy.disable_button.view_passwords

and set its value to true

Then close and restart Firefox.

Hello Vamps, Would you try this please : Type in the address bar '''about:config''' and press Enter (promise to be careful, if asked) Type in the search bar and look for the preference : '''pref.privacy.disable_button.view_passwords''' and set its value to '''true''' Then close and restart Firefox.
Was this helpful to you?
Quote

Question owner

I can't find that preference at all looking for just password orso I do find things that look similar, but no clue if any of those would be correct. Added a screen to show what I do find when looking for password, and pref.

I can't find that preference at all looking for just password orso I do find things that look similar, but no clue if any of those would be correct. Added a screen to show what I do find when looking for password, and pref.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
199 solutions 1671 answers

Vamps said

I can't find that preference at all looking for just password orso I do find things that look similar, but no clue if any of those would be correct. Added a screen to show what I do find when looking for password, and pref.

According to your screenshots you did not type in the search bar :

pref.privacy.disable_button.view_passwords

Even typing just pref.privacy should give you a list among which the preference I mentioned - would you try again, please  ?

''Vamps [[#answer-1171645|said]]'' <blockquote> I can't find that preference at all looking for just password orso I do find things that look similar, but no clue if any of those would be correct. Added a screen to show what I do find when looking for password, and pref. </blockquote> According to your screenshots you did not type in the search bar : '''pref.privacy.disable_button.view_passwords''' Even typing just '''pref.privacy''' should give you a list among which the preference I mentioned - would you try again, please ?
Was this helpful to you?
Quote

Question owner

The reason I didn't show that was because there's just 1 entry, but here it is

Looking for pref.privacy.disable_button.view_passwords shows nothing

The reason I didn't show that was because there's just 1 entry, but here it is Looking for '''pref.privacy.disable_button.view_passwords''' shows nothing
Was this helpful to you?
Quote

Question owner

I think I realised my own mistake, I was in one of the local profiles since I was working on some settings, and apparantly the config list is smaller then.

I just managed to find the pref you mentioned. Though I don't notice any change at all. I can still go to the options and show passwords, after which the value is back to false.

I think I realised my own mistake, I was in one of the local profiles since I was working on some settings, and apparantly the config list is smaller then. I just managed to find the pref you mentioned. Though I don't notice any change at all. I can still go to the options and show passwords, after which the value is back to false.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
199 solutions 1671 answers

After you changed the value of that preference, did you then close and restart Firefox, in order for the change to take effect  ?

After you changed the value of that preference, did you then close and restart Firefox, in order for the change to take effect ?
Was this helpful to you?
Quote

Question owner

Yes, after that didn't work I even restarted my pc to make sure firefox was truly closed, but it doesn't help. The button remains visible and after clicking it the value returns to false.

Yes, after that didn't work I even restarted my pc to make sure firefox was truly closed, but it doesn't help. The button remains visible and after clicking it the value returns to false.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
7861 solutions 64090 answers

We are taking about a cosmetic change. I am concerned about storing an important password in clear text (when there's no Master Password, any locally saved password can be viewed in clear text by extracting the logins.json file). In the long run, it surely would be better to avoid that.

But back to your question...

I think that preference was for the older pop-up dialog. As far as I can tell, in Firefox 63, the preference doesn't have an effect on the newer one drawn as an overlay within the Options page.

Policy

Mozilla has added some Policy features to enable better management of Firefox. There are articles on this capability here:

https://support.mozilla.org/products/firefox-enterprise/policies-enterprise

I don't see anything about suppressing the Show Passwords button in the policy template here:

https://github.com/mozilla/policy-templates

You can file a new issue requesting it here:

https://github.com/mozilla/policy-templates/issues

Custom Style Rules

Meanwhile, as a difficult and hacky workaround, you could deploy a userContent.css file. This is an optional style sheet Firefox reads at startup to modify web pages, including built-in pages like the Options/Preferences page.

The userContent.css file needs to be installed in a new chrome subfolder in the user's currently active (randomly named) profile folder, so it is a headache to deploy. Also, if a user already created a userContent.css file to modify website pages -- since it sounds as though you don't allow add-ons -- having IT replace it could be upsetting as there is no automatic backup of the file.

But if you want to try it:

#SignonViewerButtons > #togglePasswords {
  display: none !important;
}

Unofficial documentation: http://kb.mozillazine.org/UserContent.css (seems to be down at the moment)

We are taking about a cosmetic change. I am concerned about storing an important password in clear text (when there's no Master Password, any locally saved password can be viewed in clear text by extracting the logins.json file). In the long run, it surely would be better to avoid that. But back to your question... I think that preference was for the older pop-up dialog. As far as I can tell, in Firefox 63, the preference doesn't have an effect on the newer one drawn as an overlay ''within'' the Options page. '''Policy''' Mozilla has added some Policy features to enable better management of Firefox. There are articles on this capability here: https://support.mozilla.org/products/firefox-enterprise/policies-enterprise I don't see anything about suppressing the Show Passwords button in the policy template here: https://github.com/mozilla/policy-templates You can file a new issue requesting it here: https://github.com/mozilla/policy-templates/issues '''Custom Style Rules''' Meanwhile, as a difficult and hacky workaround, you could deploy a '''userContent.css''' file. This is an optional style sheet Firefox reads at startup to modify web pages, including built-in pages like the Options/Preferences page. The userContent.css file needs to be installed in a new chrome subfolder in the user's currently active (randomly named) profile folder, so it is a headache to deploy. Also, if a user already created a userContent.css file to modify website pages -- since it sounds as though you don't allow add-ons -- having IT replace it could be upsetting as there is no automatic backup of the file. But if you want to try it: <pre>#SignonViewerButtons > #togglePasswords { display: none !important; } </pre> Unofficial documentation: http://kb.mozillazine.org/UserContent.css (seems to be down at the moment)
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
199 solutions 1671 answers

@ Vamps :

I just tested that preference myself and jscher2000 is right : it doesn't work anymore - my apologies for putting you through all that trouble .....

I was thinking : if this is for an email account only, why not remove it from "Saved Logins" and write it down somewhere with old fashioned pen and paper  ?

And of course next to "Ask to save logins and passwords for websites" add the email acount to "Exceptions".

@ Vamps : I just tested that preference myself and jscher2000 is right : it doesn't work anymore - my apologies for putting you through all that trouble ..... I was thinking : if this is for an email account only, why not remove it from "Saved Logins" and write it down somewhere with old fashioned pen and paper ? And of course next to "Ask to save logins and passwords for websites" add the email acount to "Exceptions".

Modified by McCoy

Was this helpful to you?
Quote

Question owner

@jscher will check the links and your solution when I'm back at work.

@McCoy well the idea is that employees can login to the mail, without knowing the password. This was going fine until we got a smartass temp who knew about this show password button and passed it along to other employees. They're not suppossed to know the password though, but changing it is currently useless. If you know of another solution to my problem I'd love to hear it:) but removing that button seems easiest.

@jscher will check the links and your solution when I'm back at work. @McCoy well the idea is that employees can login to the mail, without knowing the password. This was going fine until we got a smartass temp who knew about this show password button and passed it along to other employees. They're not suppossed to know the password though, but changing it is currently useless. If you know of another solution to my problem I'd love to hear it:) but removing that button seems easiest.
Was this helpful to you?
Quote
McCoy
  • Top 10 Contributor
199 solutions 1671 answers

Vamps said

@jscher will check the links and your solution when I'm back at work. @McCoy well the idea is that employees can login to the mail, without knowing the password.

My suggestion to remove that entry from "saved logins" : not one of my brightest ideas .....

To do what jscher2000 suggested will be your best bet.

This was going fine until we got a smartass temp who knew about this show password button and passed it along to other employees.

So sad that an employer can't trust his employees .....

''Vamps [[#answer-1171750|said]]'' <blockquote> @jscher will check the links and your solution when I'm back at work. @McCoy well the idea is that employees can login to the mail, without knowing the password. </blockquote> My suggestion to remove that entry from "saved logins" : not one of my brightest ideas ..... To do what jscher2000 suggested will be your best bet. <blockquote> This was going fine until we got a smartass temp who knew about this show password button and passed it along to other employees. </blockquote> So sad that an employer can't trust his employees .....
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
16646 solutions 150457 answers

Chosen Solution

Note that it is likely that you need to lock this pref via an autoconfig.cfg file.

//

// disable Saved Passwords
lockPref("pref.privacy.disable_button.view_passwords", true);
Note that it is likely that you need to lock this pref via an autoconfig.cfg file. *https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig <pre><nowiki>// // disable Saved Passwords lockPref("pref.privacy.disable_button.view_passwords", true); </nowiki></pre>
Was this helpful to you? 1
Quote

Question owner

@jscher thanks for the solution, unfortunately though I didn't notice any change.

@cor-el Thanks, it locks the option to even look at the saved passwords and sites they're saved for alltogether, so a bit more than I was actually looking for but this might be even better.

@jscher thanks for the solution, unfortunately though I didn't notice any change. @cor-el Thanks, it locks the option to even look at the saved passwords and sites they're saved for alltogether, so a bit more than I was actually looking for but this might be even better.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.