1 Policies can either be specified using the Group Policy templates or by creating a file called policies.json. On Windows, create a directory called distribution where the EXE is located and place the file there. On Mac, the file goes into Firefox.app/Content/Resources/distribution.
3 The content of the JSON file should look like this:
11 Policies are documented below. Note that even though comments are used in this file for documentation, comments are not allowed for JSON files.
13 This policy is for configuring sites that support integrated authentication. See https://developer.mozilla.org/en-US/docs/Mozilla/Integrated_authentication for more information.
18 "SPNEGO": ["mydomain.com", "https://myotherdomain.com"],
19 "Delegated": ["mydomain.com", "https://myotherdomain.com"],
20 "NTLM": ["mydomain.com", "https://myotherdomain.com"]
26 This policy removes access to about:addons.
30 "BlockAboutAddons": true
35 This policy removes access to about:config.
39 "BlockAboutConfig": true
43 ### BlockAboutProfiles
44 This policy removes access to about:profiles.
48 "BlockAboutProfiles": true
53 This policy removes access to about:support.
57 "BlockAboutSupport": true
60 ### BlockSetDesktopBackground
61 This policy removes the "Set As Desktop Background..." menuitem when right clicking on an image.
65 "BlockAboutSupport": true
70 This is a Windows only policy that tells Firefox to read certificates from the Windows certificate store.
75 "ImportEnterpriseRoots": [true|false]
81 This policy controls various settings related to cookies.
86 "Allow": ["http://example.org/"], /* Domains where cookies are always allowed */
87 "Block": ["http://example.edu/"], /* Domains where cookies are always blocked */
88 "Default": [true|false], /* This sets the default value for "Accept cookies from websites" */
89 "AcceptThirdParty": ["all", "none", "from-visited"], /* This sets the default value for "Accept third-party cookies" */
90 "ExpireAtSessionEnd": [true|false], /* This determines when cookies expire */
91 "Locked": [true|false] /* If this is true, cookies preferences can't be changed */
96 ### CreateMasterPassword
97 This policy removes the master password functionality.
101 "CreateMasterPassword": false
106 This policy turns off application updates.
110 "DisableAppUpdate": true
114 ### DisableBuiltinPDFViewer
115 This policy disables the built in PDF viewer. PDF files are downloaded and sent externally.
119 "DisableBuiltinPDFViewer": true
123 ### DisableDeveloperTools
124 This policy removes access to all developer tools.
128 "DisableDeveloperTools": true
132 ### DisableFeedbackCommands
133 This policy disables the menus for reporting sites (Submit Feedback, Report Deceptive Site)
137 "DisableFeedbackCommands": true
141 ### DisableFirefoxScreenshots
142 This policy removes access to Firefox Screenshots
146 "DisableFirefoxScreenshots": true
150 ### DisableFirefoxAccounts
151 This policy disables Sync
155 "DisableFirefoxAccounts": true
159 ### DisableFirefoxStudies
160 This policy disables Firefox studies (Shield)
164 "DisableFirefoxAccounts": true
168 ### DisableFormHistory
169 This policy turns off the browser.formfill.enable preferences
173 "DisableFormHistory": true
178 This policy turns off Pocket
182 "DisablePocket": true
186 ### DisablePrivateBrowsing
187 This policy removes access to private browsing
191 "DisablePrivateBrowsing": true
196 This policy disables safe mode on Windows only
200 "DisableSafeMode": true
204 ### DisableSysAddonUpdate
205 This policy prevents system add-ons from being updated or installed.
209 "DisableSysAddonUpdate": true
213 ### DisplayBookmarksToolbar
214 This policy turns on the bookmarks toolbar by default. A user can still turn it off and it will stay off.
218 "DisplayBookmarksToolbar": true
223 This policy turns on the menubar by default. A user can still turn it off and it will stay off.
227 "DisplayMenuBar": true
231 ### DontCheckDefaultBrowser
232 This policy stops Firefox from checking if it is the default browser at startup.
236 "DontCheckDefaultBrowser": true
240 ### EnableTrackingProtection
241 This policy affects tracking protection.
243 If this policy is not configured, tracking protection is not enabled by default in the browser but it is enabled by default in private browsing and the user can change it.
245 If Value is set to false, tracking protection is disabled and locked in both the browser and private browsing.
247 If Value is set to true, private browsing is enabled by default in both the browser and private browsing and you can choose set the Locked value if you want to prevent the user from changing it.
251 "EnableTrackingProtection": {
252 "Value": [true, false],
253 "Locked": [true, false]
256 ### NoDefaultBookmarks
257 Don't create the default bookmarks or the Smart Bookmarks (Most Visited, Recent Tags). Note: this policy is only effective if used before the first run of the profile.
261 "NoDefaultBookmarks": true
265 ### RememberPasswords
266 This policy sets the signon.rememberSignons preference. It can either be enabled or disabled.
270 "RememberPasswords": true
275 This policy sets the default homepage value. It can also be used to lock the homepage and add additional homepages.
280 "URL": "http://example.com/",
282 "Additional": ["http://example.org/",
283 "http://example.edu/"]
289 This policy sets domains for which popups are allowed
294 "Allow": ["http://example.org/",
295 "http://example.edu/"]
301 This policy sets domains that can install extensions
306 "Allow": ["http://example.org/",
307 "http://example.edu/"]
313 This policy sets domains that can use or not use Flash
318 "Allow": ["http://example.org/"],
319 "Block": ["http://example.edu/"]
325 This policy allows you to specify bookmarks. You can have any number of bookmarks although only ten are specified in the ADMX file.
326 Placement can be specified as either toolbar or menu. If a folder is specified, it is automatically created and bookmarks with the
327 same folder name are grouped together.
334 "URL": "http://example.org",
335 "Favicon": "http://example.com/favicon.ico",
336 "Placement": ["toolbar", "menu"],
337 "Folder": "FolderName"
344 This policy allows you to specify proxy settings. These settings correspond to the connection settings in Firefox preferences.
345 To specify ports, append them to the hostnames with a colon (:). If Locked is set to true, the values can't be changed by the user.
349 "Mode": ["none", "system", "manual", "autoDetect", "autoConfig"]
350 "Locked": [true, false]
351 "HTTPProxy": "hostname",
352 "UseHTTPProxyForAllProtocols": [true, false]
353 "SSLProxy": "hostname",
354 "FTPProxy": "hostname",
355 "SOCKSProxy": "hostname",
356 "SOCKSVersion": [4, 5],
357 "Passthrough": "List of passthrough addresses/domains",
358 "AutoConfigURL": "URL_TO_AUTOCONFIG",
359 "AutoLogin": [true, false],
360 "UseProxyForDNS": [true, false]