We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I disable saving credit cards via group policy?

  • 8 replies
  • 1 has this problem
  • 18 views
  • Last reply by Mike Kaply

more options

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.

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.

All Replies (8)

more options

That would be about extensions.formautofill preferences:

  • extensions.formautofill.creditCards.enabled
  • extensions.formautofill.addresses.enabled

See:

more options

cor-el

Thanks for your quick reply. Where would I go to change those settings?

more options

Where does one go to change these settings?

more options

Do I need to change mozilla.cfg or are the settings somewhere else?

more options

If you check the links cor-el provided, they refer to how to set preferences via group policy.

more options

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.

more options

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.

more options

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