为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I disable saving credit cards via group policy?

  • 8 个回答
  • 1 人有此问题
  • 18 次查看
  • 最后回复者为 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