Customize Firefox using policies.json

Revision Information
  • Revision id: 160754
  • Created:
  • Creator: Joni
  • Comment: new article for enterprise
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: heyjoni
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: No
Revision Source
Revision Content

On macOS and Linux, policy support is implemented using a JSON file called policies.json. On macOS, this file goes into a directory called distribution in the Firefox.app/Contents/Resources directory. On Linux, this file goes into the distribution directory where Firefox is installed. This directory is not normally there, so you might have to create it.

The policies.json file looks like this:

{
 "policies": {
   "BlockAboutConfig": true
 }
}

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

Information about specific policies is available in the README on our GitHub repository - https://github.com/mozilla/policy-templates/blob/master/README.md.

This will always have the latest information on our policies.