Compare Revisions
Customizing Firefox Using policies.json
Revision 176785:
Revision 176785 by heyjoni on
Revision 179530:
Revision 179530 by ComputerWhiz on
Keywords:
Search results summary:
Cross-platform policy support can be implemented using a JSON file called policies.json.
Cross-platform policy support can be implemented using a JSON file called policies.json.
Content:
[[Template:enterprise]]
Policy support can be implemented using a JSON file called policies.json. Unlike controlling Firefox with [[Customizing Firefox Using Group Policy|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 <code>policies.json</code> file needs to be created. This file goes into a directory called <code>distribution</code> 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 <code>BlockAboutConfig</code> policy to <code>true</code>, which means that the user will not have access to the <code>about:config</code> page.
The latest information about our policies is available in [https://github.com/mozilla/policy-templates/blob/master/README.md the README on our GitHub repository].
{note}'''NOTE:''' The above method will not work if Firefox is already being managed using Group Policy.{/note}
[[Template:enterprise]]
Policy support can be implemented using a JSON file called policies.json. Unlike controlling Firefox with [[Customizing Firefox Using Group Policy|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 <code>policies.json</code> file needs to be created. This file goes into a directory called <code>distribution</code> 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 <code>BlockAboutConfig</code> policy to <code>true</code>, which means that the user will not have access to the <code>about:config</code> page.
The latest information about our policies is available on the <code>about:policies</code> page.
{note}'''NOTE:''' The above method will not work if Firefox is already being managed using Group Policy.{/note}