![Firefox voor ondernemingen logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-43-8dda6f.png)
How do I disable saving credit cards via group policy?
We have several users in the company that constantly change their settings like saving passwords, credit cards, and addresses. I have created a group policy to keep people from saving passwords but can't figure out how to disable Formfill for credit cards and addresses. May I please get your help on this? This is the only thing I have left to set on the group policy. I have set all of the other website browsers up already. Thanks for your time and help.
Alle antwoorden (8)
That would be about extensions.formautofill preferences:
- extensions.formautofill.creditCards.enabled
- extensions.formautofill.addresses.enabled
See:
cor-el
Thanks for your quick reply. Where would I go to change those settings?
Where does one go to change these settings?
Do I need to change mozilla.cfg or are the settings somewhere else?
If you check the links cor-el provided, they refer to how to set preferences via group policy.
I'm sorry jscher I'm new at this and I'm not sure where to change these settings. Do I need to go into Notepad and change them on the mozilla.cfg file or somewhere else. Please forgive me as I'm trying to be extremely cautious so that I don't mess anything up on our server. Thanks.
If you already have a mozilla.cfg Autoconfig file, then you can use that to set/lock preferences.
The Github link relates to Group Policy for those who do not want to deploy Autoconfig files. I have not tried setting Group Policy myself.
There is a policy called Preferences in Group Policy:
https://github.com/mozilla/policy-templates#preferences
This allows you to set arbitrary preferences via a JSON string. So for these prefs, it would look like:
{
extensions.formautofill.creditCards.enabled ": { "Value": false, "Status": "locked" }, "extensions.formautofill.addresses.enabled ": { "Value": false, "Status": "locked" }
}
It's at the top level in the GPO (Preferences)
I'll investigate adding these two prefs into the existing DisableFormHistory policy