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
69 ### CreateMasterPassword
70 This policy removes the master password functionality.
74 "CreateMasterPassword": false
79 This policy turns off application updates.
83 "DisableAppUpdate": true
87 ### DisableBuiltinPDFViewer
88 This policy disables the built in PDF viewer. PDF files are downloaded and sent externally.
92 "DisableBuiltinPDFViewer": true
96 ### DisableDeveloperTools
97 This policy removes access to all developer tools.
101 "DisableDeveloperTools": true
105 ### DisableFeedbackCommands
106 This policy disables the menus for reporting sites (Submit Feedback, Report Deceptive Site)
110 "DisableFeedbackCommands": true
114 ### DisableFirefoxScreenshots
115 This policy removes access to Firefox Screenshots
119 "DisableFirefoxScreenshots": true
123 ### DisableFirefoxAccounts
124 This policy disables Sync
128 "DisableFirefoxAccounts": true
132 ### DisableFirefoxStudies
133 This policy disables Firefox studies (Shield)
137 "DisableFirefoxAccounts": true
141 ### DisableFormHistory
142 This policy turns off the browser.formfill.enable preferences
146 "DisableFormHistory": true
151 This policy turns off Pocket
155 "DisablePocket": true
159 ### DisablePrivateBrowsing
160 This policy removes access to private browsing
164 "DisablePrivateBrowsing": true
169 This policy disables safe mode on Windows only
173 "DisableSafeMode": true
177 ### DisableSysAddonUpdate
178 This policy prevents system add-ons from being updated or installed.
182 "DisableSysAddonUpdate": true
186 ### DisplayBookmarksToolbar
187 This policy turns on the bookmarks toolbar by default. A user can still turn it off and it will stay off.
191 "DisplayBookmarksToolbar": true
196 This policy turns on the menubar by default. A user can still turn it off and it will stay off.
200 "DisplayMenuBar": true
204 ### DontCheckDefaultBrowser
205 This policy stops Firefox from checking if it is the default browser at startup.
209 "DontCheckDefaultBrowser": true
213 ### EnableTrackingProtection
214 This policy affects tracking protection.
216 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.
218 If Value is set to false, tracking protection is disabled and locked in both the browser and private browsing.
220 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.
224 "EnableTrackingProtection": {
225 "Value": [true, false],
226 "Locked": [true, false]
229 ### NoDefaultBookmarks
230 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.
234 "NoDefaultBookmarks": true
238 ### RememberPasswords
239 This policy sets the signon.rememberSignons preference. It can either be enabled or disabled.
243 "RememberPasswords": true
248 This policy sets the default homepage value. It can also be used to lock the homepage and add additional homepages.
253 "URL": "http://example.com/",
255 "Additional": ["http://example.org/",
256 "http://example.edu/"]
262 This policy sets domains for which popups are allowed
267 "Allow": ["http://example.org/",
268 "http://example.edu/"]
274 This policy sets domains that can install extensions
279 "Allow": ["http://example.org/",
280 "http://example.edu/"]
286 This policy sets domains that can set or not set cookies.
291 "Allow": ["http://example.org/"],
292 "Block": ["http://example.edu/"]
298 This policy sets domains that can use or not use Flash
303 "Allow": ["http://example.org/"],
304 "Block": ["http://example.edu/"]
310 This policy allows you to specify bookmarks. You can have any number of bookmarks although only ten are specified in the ADMX file.
311 Placement can be specified as either toolbar or menu. If a folder is specified, it is automatically created and bookmarks with the
312 same folder name are grouped together.
319 "URL": "http://example.org",
320 "Favicon": "http://example.com/favicon.ico",
321 "Placement": ["toolbar", "menu"],
322 "Folder": "FolderName"
329 This policy allows you to specify proxy settings. These settings correspond to the connection settings in Firefox preferences.
330 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.
334 "Mode": ["none", "system", "manual", "autoDetect", "autoConfig"]
335 "Locked": [true, false]
336 "HTTPProxy": "hostname",
337 "UseHTTPProxyForAllProtocols": [true, false]
338 "SSLProxy": "hostname",
339 "FTPProxy": "hostname",
340 "SOCKSProxy": "hostname",
341 "SOCKSVersion": [4, 5],
342 "Passthrough": "List of passthrough addresses/domains",
343 "AutoConfigURL": "URL_TO_AUTOCONFIG",
344 "AutoLogin": [true, false],
345 "UseProxyForDNS": [true, false]