搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I disable saving credit cards via group policy?

  • 8 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 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.

所有回覆 (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