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.
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]
80 ### CreateMasterPassword
81 This policy removes the master password functionality.
85 "CreateMasterPassword": false
90 This policy turns off application updates.
94 "DisableAppUpdate": true
98 ### DisableBuiltinPDFViewer
99 This policy disables the built in PDF viewer. PDF files are downloaded and sent externally.
103 "DisableBuiltinPDFViewer": true
107 ### DisableDeveloperTools
108 This policy removes access to all developer tools.
112 "DisableDeveloperTools": true
116 ### DisableFeedbackCommands
117 This policy disables the menus for reporting sites (Submit Feedback, Report Deceptive Site)
121 "DisableFeedbackCommands": true
125 ### DisableFirefoxScreenshots
126 This policy removes access to Firefox Screenshots
130 "DisableFirefoxScreenshots": true
134 ### DisableFirefoxAccounts
135 This policy disables Sync
139 "DisableFirefoxAccounts": true
143 ### DisableFirefoxStudies
144 This policy disables Firefox studies (Shield)
148 "DisableFirefoxAccounts": true
152 ### DisableFormHistory
153 This policy turns off the browser.formfill.enable preferences
157 "DisableFormHistory": true
162 This policy turns off Pocket
166 "DisablePocket": true
170 ### DisablePrivateBrowsing
171 This policy removes access to private browsing
175 "DisablePrivateBrowsing": true
180 This policy disables safe mode on Windows only
184 "DisableSafeMode": true
188 ### DisableSysAddonUpdate
189 This policy prevents system add-ons from being updated or installed.
193 "DisableSysAddonUpdate": true
197 ### DisplayBookmarksToolbar
198 This policy turns on the bookmarks toolbar by default. A user can still turn it off and it will stay off.
202 "DisplayBookmarksToolbar": true
207 This policy turns on the menubar by default. A user can still turn it off and it will stay off.
211 "DisplayMenuBar": true
215 ### DontCheckDefaultBrowser
216 This policy stops Firefox from checking if it is the default browser at startup.
220 "DontCheckDefaultBrowser": true
224 ### EnableTrackingProtection
225 This policy affects tracking protection.
227 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.
229 If Value is set to false, tracking protection is disabled and locked in both the browser and private browsing.
231 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.
235 "EnableTrackingProtection": {
236 "Value": [true, false],
237 "Locked": [true, false]
240 ### NoDefaultBookmarks
241 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.
245 "NoDefaultBookmarks": true
249 ### RememberPasswords
250 This policy sets the signon.rememberSignons preference. It can either be enabled or disabled.
254 "RememberPasswords": true
259 This policy sets the default homepage value. It can also be used to lock the homepage and add additional homepages.
264 "URL": "http://example.com/",
266 "Additional": ["http://example.org/",
267 "http://example.edu/"]
273 This policy sets domains for which popups are allowed
278 "Allow": ["http://example.org/",
279 "http://example.edu/"]
285 This policy sets domains that can install extensions
290 "Allow": ["http://example.org/",
291 "http://example.edu/"]
297 This policy sets domains that can set or not set cookies.
302 "Allow": ["http://example.org/"],
303 "Block": ["http://example.edu/"]
309 This policy sets domains that can use or not use Flash
314 "Allow": ["http://example.org/"],
315 "Block": ["http://example.edu/"]
321 This policy allows you to specify bookmarks. You can have any number of bookmarks although only ten are specified in the ADMX file.
322 Placement can be specified as either toolbar or menu. If a folder is specified, it is automatically created and bookmarks with the
323 same folder name are grouped together.
330 "URL": "http://example.org",
331 "Favicon": "http://example.com/favicon.ico",
332 "Placement": ["toolbar", "menu"],
333 "Folder": "FolderName"
340 This policy allows you to specify proxy settings. These settings correspond to the connection settings in Firefox preferences.
341 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.
345 "Mode": ["none", "system", "manual", "autoDetect", "autoConfig"]
346 "Locked": [true, false]
347 "HTTPProxy": "hostname",
348 "UseHTTPProxyForAllProtocols": [true, false]
349 "SSLProxy": "hostname",
350 "FTPProxy": "hostname",
351 "SOCKSProxy": "hostname",
352 "SOCKSVersion": [4, 5],
353 "Passthrough": "List of passthrough addresses/domains",
354 "AutoConfigURL": "URL_TO_AUTOCONFIG",
355 "AutoLogin": [true, false],
356 "UseProxyForDNS": [true, false]