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.
14 This policy removes access to about:addons.
18 "BlockAboutAddons": true
23 This policy removes access to about:config.
27 "BlockAboutConfig": true
31 ### BlockAboutProfiles
32 This policy removes access to about:profiles.
36 "BlockAboutProfiles": true
41 This policy removes access to about:support.
45 "BlockAboutSupport": true
48 ### BlockSetDesktopBackground
49 This policy removes the "Set As Desktop Background..." menuitem when right clicking on an image.
53 "BlockAboutSupport": true
57 ### CreateMasterPassword
58 This policy removes the master password functionality.
62 "CreateMasterPassword": false
67 This policy turns off application updates.
71 "DisableAppUpdate": true
75 ### DisableBuiltinPDFViewer
76 This policy disables the built in PDF viewer. PDF files are downloaded and sent externally.
80 "DisableBuiltinPDFViewer": true
84 ### DisableDeveloperTools
85 This policy removes access to all developer tools.
89 "DisableDeveloperTools": true
93 ### DisableFeedbackCommands
94 This policy disables the menus for reporting sites (Submit Feedback, Report Deceptive Site)
98 "DisableFeedbackCommands": true
102 ### DisableFirefoxScreenshots
103 This policy removes access to Firefox Screenshots
107 "DisableFirefoxScreenshots": true
111 ### DisableFirefoxAccounts
112 This policy disables Sync
116 "DisableFirefoxAccounts": true
120 ### DisableFirefoxStudies
121 This policy disables Firefox studies (Shield)
125 "DisableFirefoxAccounts": true
129 ### DisableFormHistory
130 This policy turns off the browser.formfill.enable preferences
134 "DisableFormHistory": true
139 This policy turns off Pocket
143 "DisablePocket": true
147 ### DisablePrivateBrowsing
148 This policy removes access to private browsing
152 "DisablePrivateBrowsing": true
157 This policy disables safe mode on Windows only
161 "DisableSafeMode": true
165 ### DisableSysAddonUpdate
166 This policy prevents system add-ons from being updated or installed.
170 "DisableSysAddonUpdate": true
174 ### DisplayBookmarksToolbar
175 This policy turns on the bookmarks toolbar by default. A user can still turn it off and it will stay off.
179 "DisplayBookmarksToolbar": true
184 This policy turns on the menubar by default. A user can still turn it off and it will stay off.
188 "DisplayMenuBar": true
192 ### DontCheckDefaultBrowser
193 This policy stops Firefox from checking if it is the default browser at startup.
197 "DontCheckDefaultBrowser": true
201 ### EnableTrackingProtection
202 This policy affects tracking protection.
204 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.
206 If Value is set to false, tracking protection is disabled and locked in both the browser and private browsing.
208 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.
212 "EnableTrackingProtection": {
213 "Value": [true, false],
214 "Locked": [true, false]
217 ### NoDefaultBookmarks
218 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.
222 "NoDefaultBookmarks": true
226 ### RememberPasswords
227 This policy sets the signon.rememberSignons preference. It can either be enabled or disabled.
231 "RememberPasswords": true
236 This policy sets the default homepage value. It can also be used to lock the homepage and add additional homepages.
241 "URL": "http://example.com/",
243 "Additional": ["http://example.org/",
244 "http://example.edu/"]
250 This policy sets domains for which popups are allowed
255 "Allow": ["http://example.org/",
256 "http://example.edu/"]
262 This policy sets domains that can install extensions
267 "Allow": ["http://example.org/",
268 "http://example.edu/"]
274 This policy sets domains that can set or not set cookies.
279 "Allow": ["http://example.org/"],
280 "Block": ["http://example.edu/"]
286 This policy sets domains that can use or not use Flash
291 "Allow": ["http://example.org/"],
292 "Block": ["http://example.edu/"]
298 This policy allows you to specify bookmarks. You can have any number of bookmarks although only ten are specified in the ADMX file.
299 Placement can be specified as either toolbar or menu. If a folder is specified, it is automatically created and bookmarks with the
300 same folder name are grouped together.
307 "URL": "http://example.org",
308 "Favicon": "http://example.com/favicon.ico",
309 "Placement": ["toolbar", "menu"],
310 "Folder": "FolderName"
317 This policy allows you to specify proxy settings. These settings correspond to the connection settings in Firefox preferences.
318 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.
322 "Mode": ["none", "system", "manual", "autoDetect", "autoConfig"]
323 "Locked": [true, false]
324 "HTTPProxy": "hostname",
325 "UseHTTPProxyForAllProtocols": [true, false]
326 "SSLProxy": "hostname",
327 "FTPProxy": "hostname",
328 "SOCKSProxy": "hostname",
329 "SOCKSVersion": [4, 5],
330 "Passthrough": "List of passthrough addresses/domains",
331 "AutoConfigURL": "URL_TO_AUTOCONFIG",
332 "AutoLogin": [true, false],
333 "UseProxyForDNS": [true, false]