搜尋 Mozilla 技術支援網站

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

了解更多

Whitelist addon installation

  • 4 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

Hi, I setup Firefox with a mozilla.cfg file to prevent users from installing addons.

//Disable add-on installation lockPref("xpinstall.enabled", false); //lockPref("extensions.enabledScopes", 0);

With Chrome Im able to whitelist Extension ID's, is this possible with Firefox also?

Thanks a lot!

Hi, I setup Firefox with a mozilla.cfg file to prevent users from installing addons. //Disable add-on installation lockPref("xpinstall.enabled", false); //lockPref("extensions.enabledScopes", 0); With Chrome Im able to whitelist Extension ID's, is this possible with Firefox also? Thanks a lot!

被選擇的解決方法

You can try to ask at the Firefox Enterprise forum. Mike Kaply knows a lot more about this than any of us.

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

AFAIK to be able to stop this would be to make a Standard User account to prevent anyone but the Admin/Owner to install them. If your giving them the admin/Owner account access your not going to stop them from doing what they want.

more options
more options

Thanks for the replies, with the JSON policy you can force an install, uninstall or lock down extensions. This is not what we are looking for I think, what we need is the following:

All extensions are blocked by default and cannot be installed through addons.mozilla.org, only the extensions in a preconfigured list can be installed, for instance:

Lastpass Ghostery

If I put the following items in mozilla.cfg: lockPref("xpinstall.enabled", false); lockPref("extensions.enabledScopes", 0);

And the whitelisted extensions in the policies.json file: {

 "policies": {
   "Extensions": {
     "Install": ["https://addons.mozilla.org/firefox/downloads/file/1018132/lastpass_password_manager-4.15.2.17-an+fx.xpi", "//path/to/xpi"]
   }

}

Will that work? And how can I make the install url generic so future versions will also be whitelisted? Thanks again!

more options

選擇的解決方法

You can try to ask at the Firefox Enterprise forum. Mike Kaply knows a lot more about this than any of us.