Customizing Firefox Using policies.json

還沒有幫人幫忙翻譯這篇文章。若您已經知道如何翻譯 SUMO 內容,您可以直接開始翻譯。若您想了解如何翻譯 SUMO 文章,請從此處開始

This article is for IT Admins who want to configure Firefox on their organization's computers.

Policy support can be implemented using a JSON file called policies.json. Unlike controlling Firefox with using Group Policy, the policies.json is cross-platform compatible, making it preferred method for enterprise environments that have workstations running various operating systems.

To implement this policy support, a policies.json file needs to be created. This file goes into a directory called distribution within the Firefox installation directory. This directory is not usually included by default, so you may need to manually create this directory.

The policies.json file looks like this:

 "policies": {
   "BlockAboutConfig": true

In this example, we are setting the BlockAboutConfig policy to true, which means that the user will not have access to the about:config page.

The latest information about our policies is available in the README on our GitHub repository.

NOTE: The above method will not work if Firefox is already being managed using Group Policy.




Illustration of hands