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

搜索 | 用户支持

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

详细了解

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.