Comparer les révisions

Customize Firefox using policies.json

Révision 284111 :

Révision 284111 par gijs le

Révision 288114 :

Révision 288114 par AliceWyman le

Mots-clés :

Résumé des résultats de recherche :

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.

Contenu :

[[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}

Retour à l’historique