Versionen vergleichen
Customize Firefox using policies.json
Version 284111:
Version 284111 von gijs am
Version 288114:
Version 288114 von AliceWyman am
Schlüsselwörter:
Zusammenfassung für die Suchergebnisse:
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.
Inhalt:
[[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. On Windows, create a directory called <code>distribution</code> where the EXE is located and place the file there. On Mac, the file goes into <code>Firefox.app/Contents/Resources/distribution</code>. On Linux, the file goes into <code>firefox/distribution</code>, where <code>firefox</code> is the installation directory for Firefox, which varies by distribution - or you can specify system-wide policy by placing the file in <code>/etc/firefox/policies</code>.
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 at https://mozilla.github.io/policy-templates/ or on the about:policies#documentation page in Firefox.'''
{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 [[Customize 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. On Windows, create a directory called <code>distribution</code> where the EXE is located and place the file there. On Mac, the file goes into <code>Firefox.app/Contents/Resources/distribution</code>. On Linux, the file goes into <code>firefox/distribution</code>, where <code>firefox</code> is the installation directory for Firefox, which varies by distribution - or you can specify system-wide policy by placing the file in <code>/etc/firefox/policies</code>.
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 at https://mozilla.github.io/policy-templates/ or on the about:policies#documentation page in Firefox.'''
{note}'''NOTE:''' The above method will not work if Firefox is already being managed using Group Policy.{/note}