]> git.p6c8.net - policy-templates.git/blob - README.md
c005d22344f01d5f24d87f6bad476a2f203e4772
[policy-templates.git] / README.md
1 **IMPORTANT**: This file is in active development along with the policies in Firefox. Make sure to check the compatibility section to see if a policy is available in a specific version of Firefox. To get the policy information that corresponds to a specific release, go to https://github.com/mozilla/policy-templates/releases.
2
3 Policies can be specified using the Group Policy templates on Windows (https://github.com/mozilla/policy-templates/tree/master/windows), configuration profiles on macOS (https://github.com/mozilla/policy-templates/tree/master/mac), 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/Contents/Resources/distribution`. On Linux, the file goes into `firefox/distribution`, where `firefox` is the installation directory for firefox, which varies by distribution.
4
5 | Policy Name | Description
6 | --- | --- |
7 | **[`AppUpdateURL`](#AppUpdateURL)** | Change the URL for application update.
8 | **[`Authentication`](#Authentication)** | Configure sites that support integrated authentication.
9 | **[`BlockAboutAddons`](#blockaboutaddons)** | Block access to the Add-ons Manager (about:addons).
10 | **[`BlockAboutConfig`](#blockaboutconfig)** | Block access to about:config.
11 | **[`BlockAboutProfiles`](#blockaboutprofiles)** | Block access to About Profiles (about:profiles).
12 | **[`BlockAboutSupport`](#blockaboutsupport)** | Block access to Troubleshooting Information (about:support).
13 | **[`Bookmarks`](#bookmarks)** | Add bookmarks in either the bookmarks toolbar or menu.
14 | **[`CaptivePortal`](#captiveportal)** | Enable or disable the detection of captive portals.
15 | **[`Certificates`](#certificates)** |
16 | **[`Certificates -> ImportEnterpriseRoots`](#certificates--importenterpriseroots)** | Trust certificates that have been added to the operating system certificate store by a user or administrator.
17 | **[`Certificates -> Install`](#certificates--install)** | Install certificates into the Firefox certificate store.
18 | **[`Cookies`](#cookies)** | Configure cookie preferences.
19 | **[`DisableSetDesktopBackground`](#disablesetdesktopbackground)** | Remove the "Set As Desktop Background..." menuitem when right clicking on an image.
20 | **[`DisableMasterPasswordCreation`](#disablemasterpasswordcreation)** | Remove the master password functionality.
21 | **[`DisableAppUpdate`](#disableappupdate)** | Turn off application updates.
22 | **[`DisableBuiltinPDFViewer`](#disablebuiltinpdfviewer)** | Disable the built in PDF viewer.
23 | **[`DisableDeveloperTools`](#disabledevelopertools)** | Remove access to all developer tools.
24 | **[`DisableFeedbackCommands`](#disablefeedbackcommands)** | Disable the menus for reporting sites.
25 | **[`DisableFirefoxScreenshots`](#disablefirefoxscreenshots)** | Remove access to Firefox Screenshots.
26 | **[`DisableFirefoxAccounts`](#disablefirefoxaccounts)** | Disable Firefox Accounts integration (Sync).
27 | **[`DisableFirefoxStudies`](#disablefirefoxstudies)** | Disable Firefox studies (Shield).
28 | **[`DisableForgetButton`](#disableforgetbutton)** | Disable the "Forget" button.
29 | **[`DisableFormHistory`](#disableformhistory)** | Turn off saving information on web forms and the search bar.
30 | **[`DisablePocket`](#disablepocket)** | Remove Pocket in the Firefox UI.
31 | **[`DisablePrivateBrowsing`](#disableprivatebrowsing)** | Remove access to private browsing.
32 | **[`DisableProfileImport`](#disableprofileimport)** | Disables the "Import data from another browser" option in the bookmarks window.
33 | **[`DisableProfileRefresh`](#disableprofilerefresh)** | Disable the Refresh Firefox button on about:support and support.mozilla.org
34 | **[`DisableSafeMode`](#disablesafemode)** | Disable safe mode within the browser.
35 | **[`DisableSecurityBypass`](#disablesecuritybypass)** | Prevent the user from bypassing security in certain cases.
36 | **[`DisableSystemAddonUpdate`](#disablesystemaddonupdate)** | Prevent system add-ons from being installed or update.
37 | **[`DisableTelemetry`](#disabletelemetry)** | DisableTelemetry
38 | **[`DisplayBookmarksToolbar`](#displaybookmarkstoolbar)** | Set the initial state of the bookmarks toolbar.
39 | **[`DisplayMenuBar`](#displaymenubar)** | Set the initial state of the menubar
40 | **[`DNSOverHTTPS`](#dnsoverhttps)** | Configure DNS over HTTPS.
41 | **[`DontCheckDefaultBrowser`](#dontcheckdefaultbrowser)** | Don't check if Firefox is the default browser at startup.
42 | **[`EnableTrackingProtection`](#enabletrackingprotection)** | Configure tracking protection.
43 | **[`Extensions`](#extensions)** | Control the installation, uninstallation and locking of extensions.
44 | **[`ExtensionUpdate`](#extensionupdate)** | Control extension updates.
45 | **[`FlashPlugin`](#flashplugin)** | Configure the default Flash plugin policy as well as origins for which Flash is allowed.
46 | **[`HardwareAcceleration`](#hardwareacceleration)** | Control hardware acceleration.
47 | **[`Homepage`](#homepage)** | Configure the default homepage and how Firefox starts.
48 | **[`InstallAddonsPermission`](#installaddonspermission)** | Configure the default extension install policy as well as origins for extension installs are allowed.
49 | **[`NetworkPrediction`](#networkprediction)** | Enable or disable network prediction (DNS prefetching).
50 | **[`NoDefaultBookmarks`](#nodefaultbookmarks)** | Disable the creation of default bookmarks.
51 | **[`OfferToSaveLogins`](#offertosavelogins)** | Control whether or not Firefox offers to save passwords.
52 | **[`OverrideFirstRunPage`](#overridefirstrunpage)** | Override the first run page.
53 | **[`OverridePostUpdatePage`](#overridepostupdatepage)** | Override the upgrade page.
54 | **[`Permissions`](#permissions)** | Set permissions associated with camera, microphone, location, and notifications.
55 | **[`PopupBlocking`](#popupblocking)** | Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
56 | **[`Preferences`](#preferences)** | Set and lock some preferences.
57 | **[`Proxy`](#proxy)** | Configure proxy settings.
58 | **[`RequestedLocales`](#requestedlocales)** | Set the the list of requested locales for the application in order of preference.
59 | **[`SanitizeOnShutdown`](#sanitizeonshutdown)** | Clear all data on shutdown.
60 | **[`SearchBar`](#searchbar)** | Set whether or not search bar is displayed.
61 | **[`SearchEngines`](#searchengines-this-policy-is-only-available-on-the-esr)** |
62 | **[`SearchEngines -> Default`](#searchengines--default)** | Set the default search engine.
63 | **[`SearchEngines -> PreventInstalls`](#searchengines--preventinstalls)** | Prevent installing search engines from webpages.
64 | **[`SearchEngines -> Remove`](#searchengines--remove)** | Hide built-in search engines.
65 | **[`SearchEngines -> Add`](#searchengines--add)** | Add new search engines.
66 | **[`SecurityDevices`](#securitydevices)** | Install PKCS #11 modules.
67 | **[`SSLVersionMax`](#sslversionmax)** | Set and lock the maximum version of TLS.
68 | **[`SSLVersionMin`](#sslversionmin)** | Set and lock the minimum version of TLS.
69 | **[`WebsiteFilter`](#websitefilter)** | Block websites from being visited.
70
71
72 ### AppUpdateURL
73
74 Change the URL for application update.
75
76 **Compatibility:** Firefox 62, Firefox ESR 60.2\
77 **CCK2 Equivalent:** N/A\
78 **Preferences Affected:** `app.update.url`
79
80 #### Windows
81 ```
82 Software\Policies\Mozilla\Firefox\AppUpdateURL = "https://yoursite.com"
83 ```
84 #### macOS
85 ```
86 <dict>
87 <key>AppUpdateURL</key>
88 <string>https://yoursite.com</string>
89 </dict>
90 ```
91 ### JSON
92 ```
93 {
94 "policies": {
95 "AppUpdateURL": "https://yoursite.com"
96 }
97 }
98 ```
99 ### Authentication
100
101 Configure sites that support integrated authentication.
102
103 See https://developer.mozilla.org/en-US/docs/Mozilla/Integrated_authentication for more information.
104
105 **Compatibility:** Firefox 60, Firefox ESR 60 (AllowNonFQDN added in 62/60.2)\
106 **CCK2 Equivalent:** N/A\
107 **Preferences Affected:** `network.negotiate-auth.trusted-uris`, `network.negotiate-auth.delegation-uris`, `network.automatic-ntlm-auth.trusted-uris`, `network.automatic-ntlm-auth.allow-non-fqdn`, `network.negotiate-auth.allow-non-fqdn`
108
109 #### Windows
110 ```
111 Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\1 = "mydomain.com"
112 Software\Policies\Mozilla\Firefox\Authentication\SPNEGO\2 = "https://myotherdomain.com"
113 Software\Policies\Mozilla\Firefox\Authentication\Delegated\1 = "mydomain.com"
114 Software\Policies\Mozilla\Firefox\Authentication\Delegated\2 = "https://myotherdomain.com"
115 Software\Policies\Mozilla\Firefox\Authentication\NTLM\1 = "mydomain.com"
116 Software\Policies\Mozilla\Firefox\Authentication\NTLM\2 = "https://myotherdomain.com"
117 Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\SPNEGO = 0x1 | 0x0
118 Software\Policies\Mozilla\Firefox\Authentication\AllowNonFQDN\NTLM = 0x1 | 0x0
119 ```
120 #### macOS
121 ```
122 <dict>
123 <key>Authentication</key>
124 <dict>
125 <key>SPNEGO</key>
126 <array>
127 <string>mydomain.com</string>
128 <string>https://myotherdomain.com</string>
129 </array>
130 <key>Delegated</key>
131 <array>
132 <string>mydomain.com</string>
133 <string>https://myotherdomain.com</string>
134 </array>
135 <key>NTLM</key>
136 <array>
137 <string>mydomain.com</string>
138 <string>https://myotherdomain.com</string>
139 </array>
140 <key>AllowNonFQDN</key>
141 <dict>
142 <key>SPNEGO</key>
143 <true/> | <false/>
144 <key>NTLM</key>
145 <true/> | <false/>
146 </dict>
147 </dict>
148 </dict>
149 ```
150 ### JSON
151 ```
152 {
153 "policies": {
154 "Authentication": {
155 "SPNEGO": ["mydomain.com", "https://myotherdomain.com"],
156 "Delegated": ["mydomain.com", "https://myotherdomain.com"],
157 "NTLM": ["mydomain.com", "https://myotherdomain.com"],
158 "AllowNonFQDN": {
159 "SPNEGO": true | false,
160 "NTLM": true | false
161 }
162 }
163 }
164 }
165 ```
166 ### BlockAboutAddons
167
168 Block access to the Add-ons Manager (about:addons).
169
170 **Compatibility:** Firefox 60, Firefox ESR 60\
171 **CCK2 Equivalent:** `disableAddonsManager`\
172 **Preferences Affected:** N/A
173
174 #### Windows
175 ```
176 Software\Policies\Mozilla\Firefox\BlockAboutAddons = 0x1 | 0x0
177 ```
178 #### macOS
179 ```
180 <dict>
181 <key>BlockAboutAddons</key>
182 <true/> | <false/>
183 </dict>
184 ```
185 #### JSON
186 ```
187 {
188 "policies": {
189 "BlockAboutAddons": true | false
190 }
191 }
192 ```
193 ### BlockAboutConfig
194
195 Block access to about:config.
196
197 **Compatibility:** Firefox 60, Firefox ESR 60\
198 **CCK2 Equivalent:** `disableAboutConfig`\
199 **Preferences Affected:** N/A
200
201 #### Windows
202 ```
203 Software\Policies\Mozilla\Firefox\BlockAboutConfig = 0x1 | 0x0
204 ```
205 #### macOS
206 ```
207 <dict>
208 <key>BlockAboutConfig</key>
209 <true/> | <false/>
210 </dict>
211 ```
212 #### JSON
213 ```
214 {
215 "policies": {
216 "BlockAboutConfig": true | false
217 }
218 }
219 ```
220 ### BlockAboutProfiles
221
222 Block access to About Profiles (about:profiles).
223
224 **Compatibility:** Firefox 60, Firefox ESR 60\
225 **CCK2 Equivalent:** `disableAboutProfiles`\
226 **Preferences Affected:** N/A
227
228 #### Windows
229 ```
230 Software\Policies\Mozilla\Firefox\BlockAboutProfiles = 0x1 | 0x0
231 ```
232 #### macOS
233 ```
234 <dict>
235 <key>BlockAboutProfiles</key>
236 <true/> | <false/>
237 </dict>
238 ```
239 #### JSON
240 ```
241 {
242 "policies": {
243 "BlockAboutProfiles": true | false
244 }
245 }
246 ```
247 ### BlockAboutSupport
248
249 Block access to Troubleshooting Information (about:support).
250
251 **Compatibility:** Firefox 60, Firefox ESR 60\
252 **CCK2 Equivalent:** `disableAboutSupport`\
253 **Preferences Affected:** N/A
254
255 #### Windows
256 ```
257 Software\Policies\Mozilla\Firefox\BlockAboutSupport = 0x1 | 0x0
258 ```
259 #### macOS
260 ```
261 <dict>
262 <key>BlockAboutSupport</key>
263 <true/> | <false/>
264 </dict>
265 ```
266 #### JSON
267 ```
268 {
269 "policies": {
270 "BlockAboutSupport": true | false
271 }
272 }
273 ```
274 ### Bookmarks
275
276 Add bookmarks in either the bookmarks toolbar or menu. Only `Title` and `URL` are required. If `Placement` is not specified, the bookmark will be placed on the toolbar. If `Folder` is specified, it is automatically created and bookmarks with the same folder name are grouped together.
277
278 **Compatibility:** Firefox 60, Firefox ESR 60\
279 **CCK2 Equivalent:** `bookmarks.toolbar`,`bookmarks.menu`\
280 **Preferences Affected:** N/A
281
282 #### Windows
283 ```
284 Software\Policies\Mozilla\Firefox\Bookmarks\1\Title = "Example"
285 Software\Policies\Mozilla\Firefox\Bookmarks\1\URL = "https://example.com"
286 Software\Policies\Mozilla\Firefox\Bookmarks\1\Favicon = "https://example.com/favicon.ico"
287 Software\Policies\Mozilla\Firefox\Bookmarks\1\Placement = "toolbar" | "menu"
288 Software\Policies\Mozilla\Firefox\Bookmarks\1\Folder = "FolderName"
289 ```
290 #### macOS
291 ```
292 <dict>
293 <key>Bookmarks</key>
294 <array>
295 <dict>
296 <key>Title</key>
297 <string>Example</string>
298 <key>URL</key>
299 <string>https://example.com</string>
300 <key>Favicon</key>
301 <string>https://example.com/favicon.ico</string>
302 <key>Placement</key>
303 <string>toolbar | menu</string>
304 <key>Folder</key>
305 <string>FolderName</string>
306 </dict>
307 </array>
308 </dict>
309 ```
310 ### JSON
311 ```
312 {
313 "policies": {
314 "Bookmarks": [
315 {
316 "Title": "Example",
317 "URL": "https://example.com",
318 "Favicon": "https://example.com/favicon.ico",
319 "Placement": "toolbar" | "menu",
320 "Folder": "FolderName"
321 }
322 ]
323 }
324 }
325 ```
326 ### CaptivePortal
327 Enable or disable the detection of captive portals.
328
329 **Compatibility:** Firefox 67, Firefox ESR 60.7\
330 **CCK2 Equivalent:** N/A\
331 **Preferences Affected:** `network.captive-portal-service.enabled`
332
333 #### Windows
334 ```
335 Software\Policies\Mozilla\Firefox\CaptivePortal = 0x1 | 0x0
336 ```
337 #### macOS
338 ```
339 <dict>
340 <key>CaptivePortal</key>
341 <true/> | <false/>
342 </dict>
343 ```
344 #### JSON
345 ```
346 {
347 "policies": {
348 "CaptivePortal": true | false
349 }
350 }
351 ```
352 ### Certificates
353
354 ### Certificates | ImportEnterpriseRoots
355
356 Trust certificates that have been added to the operating system certificate store by a user or administrator.
357
358 See https://support.mozilla.org/kb/setting-certificate-authorities-firefox for more detail.
359
360 **Compatibility:** Firefox 60, Firefox ESR 60 (macOS support in Firefox 63, Firefox ESR 68)\
361 **CCK2 Equivalent:** N/A\
362 **Preferences Affected:** `security.enterprise_roots.enabled`
363
364 #### Windows
365 ```
366 Software\Policies\Mozilla\Firefox\Certificates\ImportEnterpriseRoots = 0x1 | 0x0
367 ```
368 #### macOS
369 ```
370 <dict>
371 <key>Certificates</key>
372 <dict>
373 <key>ImportEnterpriseRoots</key>
374 <true/> | <false/>
375 </dict>
376 </dict>
377 ```
378 #### JSON
379 ```
380 {
381 "policies": {
382 "Certificates": {
383 "ImportEnterpriseRoots": true | false
384 }
385 }
386 }
387 ```
388 ### Certificates | Install
389
390 Install certificates into the Firefox certificate store. If only a filename is specified, Firefox searches for the file in the following locations:
391
392 - Windows
393 - %USERPROFILE%\AppData\Local\Mozilla\Certificates
394 - %USERPROFILE%\AppData\Roaming\Mozilla\Certificates
395 - macOS
396 - /Library/Application Support/Mozilla/Certificates
397 - ~/Library/Application Support/Mozilla/Certificates
398 - Linux
399 - /usr/lib/mozilla/certificates
400 - /usr/lib64/mozilla/certificates
401 - ~/.mozilla/certificates
402
403 Starting with Firefox 65, Firefox 60.5 ESR, a fully qualified path can be used, including UNC paths. You should use the native path style for your operating system. We do not support using %USERPROFILE% or other environment variables on Windows.
404
405 If you are specifying the path in the policies.json file on Windows, you need to escape your backslashes (`\\`) which means that for UNC paths, you need to escape both (`\\\\`). If you use group policy, you only need one backslash.
406
407 Certificates are installed using the trust string `CT,CT,`.
408
409 Binary (DER) and ASCII (PEM) certificates are both supported.
410
411 **Compatibility:** Firefox 64, Firefox ESR 64\
412 **CCK2 Equivalent:** `certs.ca`\
413 **Preferences Affected:** N/A
414
415 #### Windows
416 ```
417 Software\Policies\Mozilla\Firefox\Certificates\Install\1 = "cert1.der"
418 Software\Policies\Mozilla\Firefox\Certificates\Install\2 = "C:\Users\username\cert2.pem"
419 ```
420 #### macOS
421 ```
422 <dict>
423 <key>Certificates</key>
424 <dict>
425 <key>Install</key>
426 <array>
427 <string>cert1.der</string>
428 <string>/Users/username/cert2.pem</string>
429 </array>
430 </dict>
431 </dict>
432 ```
433 #### JSON
434 ```
435 {
436 "policies": {
437 "Certificates": {
438 "Install": ["cert1.der", "/home/username/cert2.pem"]
439 }
440 }
441 }
442 ```
443 ### Cookies
444 Configure cookie preferences.
445
446 `Allow` is a list of origins (not domains) where cookies are always allowed. You must include http or https.
447
448 `Block` is a list of origins (not domains) where cookies are always blocked. You must include http or https.
449
450 `Default` determines whether cookies are accepted at all.
451
452 `AcceptThirdParty` determines how third-party cookies are handled.
453
454 `ExpireAtSessionEnd` determines when cookies expire.
455
456 `RejectTracker` only rejects cookies for trackers.
457
458 `Locked` prevents the user from changing cookie preferences.
459
460 **Compatibility:** Firefox 60, Firefox ESR 60 (RejectTracker was added in Firefox 63)\
461 **CCK2 Equivalent:** N/A\
462 **Preferences Affected:** `network.cookie.cookieBehavior`,`network.cookie.lifetimePolicy`
463
464 #### Windows
465 ```
466 Software\Policies\Mozilla\Firefox\Cookies\Allow\1 = "https://example.com"
467 Software\Policies\Mozilla\Firefox\Cookies\Block\1 = "https://example.org"
468 Software\Policies\Mozilla\Firefox\Cookies\Default = 0x1 | 0x0
469 Software\Policies\Mozilla\Firefox\Cookies\AcceptThirdParty = "always" | "never" |"from-visited"
470 Software\Policies\Mozilla\Firefox\Cookies\ExpireAtSessionEnd = 0x1 | 0x0
471 Software\Policies\Mozilla\Firefox\Cookies\RejectTracker = 0x1 | 0x0
472 Software\Policies\Mozilla\Firefox\Cookies\Locked = 0x1 | 0x0
473 ```
474 #### macOS
475 ```
476 <dict>
477 <key>Cookies</key>
478 <dict>
479 <key>Allow</key>
480 <array>
481 <string>http://example.com</string>
482 </array>
483 <key>Block</key>
484 <array>
485 <string>http://example.org</string>
486 </array>
487 <key>Default</key>
488 <true/> | <false/>
489 <key>AcceptThirdParty</key>
490 <string>always | never | from-visited</string>
491 <key>ExpireAtSessionEnd</key>
492 <true/> | <false/>
493 <key>RejectTracker</key>
494 <true/> | <false/>
495 <key>Locked</key>
496 <true/> | <false/>
497 </dict>
498 </dict>
499 ```
500 #### JSON
501 ```
502 {
503 "policies": {
504 "Cookies": {
505 "Allow": ["http://example.org/"],
506 "Block": ["http://example.edu/"],
507 "Default": true | false,
508 "AcceptThirdParty": "always" | "never" | "from-visited"],
509 "ExpireAtSessionEnd": true | false,
510 "RejectTracker": true | false,
511 "Locked": true | false
512 }
513 }
514 }
515 ```
516 ### DisableSetDesktopBackground
517 Remove the "Set As Desktop Background..." menuitem when right clicking on an image.
518
519 **Compatibility:** Firefox 60, Firefox ESR 60\
520 **CCK2 Equivalent:** `removeSetDesktopBackground`\
521 **Preferences Affected:** N/A
522
523 #### Windows
524 ```
525 Software\Policies\Mozilla\Firefox\DisableSetDesktopBackground = 0x1 | 0x0
526 ```
527
528 #### macOS
529 ```
530 <dict>
531 <key>DisableSetDesktopBackground</key>
532 <true/> | <false/>
533 </dict>
534 ```
535 #### JSON
536 ```
537 {
538 "policies": {
539 "DisableSetDesktopBackground": true | false
540 }
541 }
542 ```
543 ### DisableMasterPasswordCreation
544 Remove the master password functionality.
545
546 **Compatibility:** Firefox 60, Firefox ESR 60\
547 **CCK2 Equivalent:** `noMasterPassword`\
548 **Preferences Affected:** N/A
549
550 #### Windows
551 ```
552 Software\Policies\Mozilla\Firefox\DisableMasterPasswordCreation = 0x1 | 0x0
553 ```
554
555 #### macOS
556 ```
557 <dict>
558 <key>DisableMasterPasswordCreation</key>
559 <true/> | <false/>
560 </dict>
561 ```
562 #### JSON
563 ```
564 {
565 "policies": {
566 "DisableMasterPasswordCreation": true | false
567 }
568 }
569 ```
570 ### DisableAppUpdate
571 Turn off application updates.
572
573 **Compatibility:** Firefox 60, Firefox ESR 60\
574 **CCK2 Equivalent:** `disableFirefoxUpdates`\
575 **Preferences Affected:** N/A
576
577 #### Windows
578 ```
579 Software\Policies\Mozilla\Firefox\DisableAppUpdate = 0x1 | 0x0
580 ```
581 #### macOS
582 ```
583 <dict>
584 <key>DisableAppUpdate</key>
585 <true/> | <false/>
586 </dict>
587 ```
588 #### JSON
589 ```
590 {
591 "policies": {
592 "DisableAppUpdate": true | false
593 }
594 }
595 ```
596 ### DisableBuiltinPDFViewer
597 Disable the built in PDF viewer. PDF files are downloaded and sent externally.
598
599 **Compatibility:** Firefox 60, Firefox ESR 60\
600 **CCK2 Equivalent:** `disablePDFjs`\
601 **Preferences Affected:** `pdfjs.disabled`
602
603 #### Windows
604 ```
605 Software\Policies\Mozilla\Firefox\DisableBuiltinPDFViewer = 0x1 | 0x0
606 ```
607
608 #### macOS
609 ```
610 <dict>
611 <key>DisableBuiltinPDFViewer</key>
612 <true/> | <false/>
613 </dict>
614 ```
615 #### JSON
616 ```
617 {
618 "policies": {
619 "DisableBuiltinPDFViewer": true | false
620 }
621 }
622 ```
623 ### DisableDeveloperTools
624 Remove access to all developer tools.
625
626 **Compatibility:** Firefox 60, Firefox ESR 60\
627 **CCK2 Equivalent:** `removeDeveloperTools`\
628 **Preferences Affected:** `devtools.policy.disabled`
629
630 #### Windows
631 ```
632 Software\Policies\Mozilla\Firefox\DisableDeveloperTools = 0x1 | 0x0`
633 ```
634
635 #### macOS
636 ```
637 <dict>
638 <key>DisableDeveloperTools</key>
639 <true/> | <false/>
640 </dict>
641 ```
642 #### JSON
643 ```
644 {
645 "policies": {
646 "DisableDeveloperTools": true | false
647 }
648 }
649 ```
650 ### DisableFeedbackCommands
651 Disable the menus for reporting sites (Submit Feedback, Report Deceptive Site).
652
653 **Compatibility:** Firefox 60, Firefox ESR 60\
654 **CCK2 Equivalent:** N/A\
655 **Preferences Affected:** N/A
656
657 #### Windows
658 ```
659 Software\Policies\Mozilla\Firefox\DisableFeedbackCommands = 0x1 | 0x0
660 ```
661 #### macOS
662 ```
663 <dict>
664 <key>DisableFeedbackCommands</key>
665 <true/> | <false/>
666 </dict>
667 ```
668 #### JSON
669 ```
670 {
671 "policies": {
672 "DisableFeedbackCommands": true | false
673 }
674 }
675 ```
676 ### DisableFirefoxScreenshots
677 Remove access to Firefox Screenshots.
678
679 **Compatibility:** Firefox 60, Firefox ESR 60\
680 **CCK2 Equivalent:** N/A\
681 **Preferences Affected:** `extensions.screenshots.disabled`
682
683 #### Windows
684 ```
685 Software\Policies\Mozilla\Firefox\DisableFirefoxScreenshots = 0x1 | 0x0
686 ```
687 #### macOS
688 ```
689 <dict>
690 <key>DisableFirefoxScreenshots</key>
691 <true/> | <false/>
692 </dict>
693 ```
694 #### JSON
695 ```
696 {
697 "policies": {
698 "DisableFirefoxScreenshots": true | false
699 }
700 }
701 ```
702 ### DisableFirefoxAccounts
703 Disable Firefox Accounts integration (Sync).
704
705 **Compatibility:** Firefox 60, Firefox ESR 60\
706 **CCK2 Equivalent:** `disableSync`\
707 **Preferences Affected:** `identity.fxaccounts.enabled`
708
709 #### Windows
710 ```
711 Software\Policies\Mozilla\Firefox\DisableFirefoxAccounts = 0x1 | 0x0
712 ```
713 #### macOS
714 ```
715 <dict>
716 <key>DisableFirefoxAccounts</key>
717 <true/> | <false/>
718 </dict>
719 ```
720 #### JSON
721 ```
722 {
723 "policies": {
724 "DisableFirefoxAccounts": true | false
725 }
726 }
727 ```
728 ### DisableFirefoxStudies
729 Disable Firefox studies (Shield).
730
731 **Compatibility:** Firefox 60, Firefox ESR 60\
732 **CCK2 Equivalent:** `disableForget`\
733 **Preferences Affected:** N/A
734
735 #### Windows
736 ```
737 Software\Policies\Mozilla\Firefox\DisableFirefoxStudies = 0x1 | 0x0
738 ```
739 #### macOS
740 ```
741 <dict>
742 <key>DisableFirefoxStudies</key>
743 <true/> | <false/>
744 </dict>
745 ```
746 #### JSON
747 ```
748 {
749 "policies": {
750 "DisableFirefoxStudies": true | false
751 }
752 }
753 ```
754 ### DisableForgetButton
755 Disable the "Forget" button.
756
757 **Compatibility:** Firefox 60, Firefox ESR 60\
758 **CCK2 Equivalent:** `disableForget`\
759 **Preferences Affected:** N/A
760
761 #### Windows
762 ```
763 Software\Policies\Mozilla\Firefox\DisableForgetButton = 0x1 | 0x0
764 ```
765 #### macOS
766 ```
767 <dict>
768 <key>DisableForgetButton</key>
769 <true/> | <false/>
770 </dict>
771 ```
772 #### JSON
773 ```
774 {
775 "policies": {
776 "DisableForgetButton": true | false
777 }
778 }
779 ```
780 ### DisableFormHistory
781 Turn off saving information on web forms and the search bar.
782
783 **Compatibility:** Firefox 60, Firefox ESR 60\
784 **CCK2 Equivalent:** `disableFormFill`\
785 **Preferences Affected:** ` browser.formfill.enable`
786
787 #### Windows
788 ```
789 Software\Policies\Mozilla\Firefox\DisableFormHistory = 0x1 | 0x0
790 ```
791 #### macOS
792 ```
793 <dict>
794 <key>DisableFormHistory</key>
795 <true/> | <false/>
796 </dict>
797 ```
798 #### JSON
799 ```
800 {
801 "policies": {
802 "DisableFormHistory": true | false
803 }
804 }
805 ```
806 ### DisablePocket
807 Remove Pocket in the Firefox UI. It does not remove it from the new tab page.
808
809 **Compatibility:** Firefox 60, Firefox ESR 60\
810 **CCK2 Equivalent:** `disablePocket`\
811 **Preferences Affected:** `extensions.pocket.enabled`
812
813 #### Windows
814 ```
815 Software\Policies\Mozilla\Firefox\DisablePocket = 0x1 | 0x0
816 ```
817 #### macOS
818 ```
819 <dict>
820 <key>DisablePocket</key>
821 <true/> | <false/>
822 </dict>
823 ```
824 #### JSON
825 ```
826 {
827 "policies": {
828 "DisablePocket": true | false
829 }
830 }
831 ```
832 ### DisablePrivateBrowsing
833 Remove access to private browsing.
834
835 **Compatibility:** Firefox 60, Firefox ESR 60\
836 **CCK2 Equivalent:** `disablePrivateBrowsing`\
837 **Preferences Affected:** N/A
838
839 #### Windows
840 ```
841 Software\Policies\Mozilla\Firefox\DisablePrivateBrowsing = 0x1 | 0x0
842 ```
843 #### macOS
844 ```
845 <dict>
846 <key>DisablePrivateBrowsing</key>
847 <true/> | <false/>
848 </dict>
849 ```
850 #### JSON
851 ```
852 {
853 "policies": {
854 "DisablePrivateBrowsing": true | false
855 }
856 }
857 ```
858 ### DisableProfileImport
859 Disables the "Import data from another browser" option in the bookmarks window.
860
861 **Compatibility:** Firefox 60, Firefox ESR 60\
862 **CCK2 Equivalent:** N/A\
863 **Preferences Affected:** N/A
864
865 #### Windows
866 ```
867 Software\Policies\Mozilla\Firefox\DisableProfileImport = 0x1 | 0x0
868 ```
869 #### macOS
870 ```
871 <dict>
872 <key>DisableProfileImport</key>
873 <true/> | <false/>
874 </dict>
875 ```
876 #### JSON
877 ```
878 {
879 "policies": {
880 "DisableProfileImport": true | false
881 }
882 }
883 ```
884 ### DisableProfileRefresh
885 Disable the Refresh Firefox button on about:support and support.mozilla.org, as well as the prompt that displays offering to refresh Firefox when you haven't used it in a while.
886
887 **Compatibility:** Firefox 60, Firefox ESR 60\
888 **CCK2 Equivalent:** `disableResetFirefox`\
889 **Preferences Affected:** `browser.disableResetPrompt`
890
891 #### Windows
892 ```
893 Software\Policies\Mozilla\Firefox\DisableProfileRefresh = 0x1 | 0x0
894 ```
895 #### macOS
896 ```
897 <dict>
898 <key>DisableProfileRefresh</key>
899 <true/> | <false/>
900 </dict>
901 ```
902 #### JSON
903 ```
904 {
905 "policies": {
906 "DisableProfileRefresh": true | false
907 }
908 }
909 ```
910 ### DisableSafeMode
911 Disable safe mode within the browser.
912
913 On Windows, this disables safe mode via the command line as well.
914
915 **Compatibility:** Firefox 60, Firefox ESR 60 (Windows, macOS)\
916 **CCK2 Equivalent:** `disableSafeMode`\
917 **Preferences Affected:** N/A
918
919 #### Windows
920 ```
921 Software\Policies\Mozilla\Firefox\DisableSafeMode = 0x1 | 0x0
922 ```
923 #### macOS
924 ```
925 <dict>
926 <key>DisableSafeMode</key>
927 <true/> | <false/>
928 </dict>
929 ```
930 #### JSON
931 ```
932 {
933 "policies": {
934 "DisableSafeMode": true | false
935 }
936 }
937 ```
938 ### DisableSecurityBypass
939 Prevent the user from bypassing security in certain cases.
940
941 `InvalidCertificate` prevents adding an exception when an invalid certificate is shown.
942
943 `SafeBrowsing` prevents selecting "ignore the risk" and visiting a harmful site anyway.
944
945 **Compatibility:** Firefox 60, Firefox ESR 60\
946 **CCK2 Equivalent:** N/A\
947 **Preferences Affected:** `security.certerror.hideAddException`,`browser.safebrowsing.allowOverride`
948
949 #### Windows
950 ```
951 Software\Policies\Mozilla\Firefox\DisableSecurityBypass\InvalidCertificate = 0x1 | 0x0
952 Software\Policies\Mozilla\Firefox\DisableSecurityBypass\SafeBrowsing = 0x1 | 0x0
953 ```
954 #### macOS
955 ```
956 <dict>
957 <key>DisableSecurityBypass</key>
958 <dict>
959 <key>InvalidCertificate</key>
960 <true/> | <false/>
961 <key><SafeBrowsing/key>
962 <true/> | <false/>
963 </dict>
964 </dict>
965 ```
966 #### JSON
967 ```
968 {
969 "policies": {
970 "DisableSecurityBypass": {
971 "InvalidCertificate": true false,
972 "SafeBrowsing": true false
973 }
974 }
975 }
976 ```
977 ### DisableSystemAddonUpdate
978 Prevent system add-ons from being installed or update.
979
980 **Compatibility:** Firefox 60, Firefox ESR 60\
981 **CCK2 Equivalent:** N/A\
982 **Preferences Affected:** N/A
983
984 #### Windows
985 ```Software\Policies\Mozilla\Firefox\DisableSystemAddonUpdate = 0x1 | 0x0
986 ```
987 #### macOS
988 ```
989 <dict>
990 <key>DisableSystemAddonUpdate</key>
991 <true/> | <false/>
992 </dict>
993 ```
994 #### JSON
995 ```
996 {
997 "policies": {
998 "DisableSystemAddonUpdate": true | false
999 }
1000 }
1001 ```
1002 ### DisableTelemetry
1003 Prevent the upload of telemetry data.
1004
1005 Mozilla recommends that you do not disable telemetry. Information collected through telemetry helps us build a better product for businesses like yours.
1006
1007 **Compatibility:** Firefox 60, Firefox ESR 60\
1008 **CCK2 Equivalent:** `disableTelemetry`\
1009 **Preferences Affected:** `datareporting.healthreport.uploadEnabled,datareporting.policy.dataSubmissionEnabled`
1010
1011 #### Windows
1012 ```
1013 Software\Policies\Mozilla\Firefox\DisableTelemetry = 0x1 | 0x0
1014 ```
1015 #### macOS
1016 ```
1017 <dict>
1018 <key>DisableTelemetry</key>
1019 <true/> | <false/>
1020 </dict>
1021 ```
1022 #### JSON
1023 ```
1024 {
1025 "policies": {
1026 "DisableTelemetry": true | false
1027 }
1028 }
1029 ```
1030 ### DisplayBookmarksToolbar
1031 Set the initial state of the bookmarks toolbar. A user can still hide it and it will stay hidden.
1032
1033 **Compatibility:** Firefox 60, Firefox ESR 60\
1034 **CCK2 Equivalent:** `displayBookmarksToolbar`\
1035 **Preferences Affected:** N/A
1036
1037 #### Windows
1038 ```
1039 Software\Policies\Mozilla\Firefox\DisplayBookmarksToolbar = 0x1 | 0x0
1040 ```
1041 #### macOS
1042 ```
1043 <dict>
1044 <key>DisplayBookmarksToolbar</key>
1045 <true/> | <false/>
1046 </dict>
1047 ```
1048 #### JSON
1049 ```
1050 {
1051 "policies": {
1052 "DisplayBookmarksToolbar": true | false
1053 }
1054 }
1055 ```
1056 ### DisplayMenuBar
1057 Set the initial state of the menubar. A user can still hide it and it will stay hidden.
1058
1059 **Compatibility:** Firefox 60, Firefox ESR 60 (Windows, some Linux)\
1060 **CCK2 Equivalent:** `displayMenuBar`\
1061 **Preferences Affected:** N/A
1062
1063 #### Windows
1064 ```
1065 Software\Policies\Mozilla\Firefox\DisplayMenuBar = 0x1 | 0x0
1066 ```
1067 #### macOS
1068 ```
1069 <dict>
1070 <key>DisplayMenuBar</key>
1071 <true/> | <false/>
1072 </dict>
1073 ```
1074 #### JSON
1075 ```
1076 {
1077 "policies": {
1078 "DisplayMenuBar": true | false
1079 }
1080 }
1081 ```
1082 ### DNSOverHTTPS
1083 Configure DNS over HTTPS.
1084
1085 `Enabled` determines whether DNS over HTTPS is enabled
1086
1087 `ProviderURL` is a URL to another provider.
1088
1089 `Locked` prevents the user from changing DNS over HTTPS preferences.
1090
1091 **Compatibility:** Firefox 63, Firefox ESR 68\
1092 **CCK2 Equivalent:** N/A\
1093 **Preferences Affected:** `network.trr.mode`,`network.trr.uri`
1094
1095 #### Windows
1096 ```
1097 Software\Policies\Mozilla\Firefox\Cookies\Enabled = 0x1 | 0x0
1098 Software\Policies\Mozilla\Firefox\Cookies\ProviderURL = "URL_TO_ALTERNATE_PROVIDER"
1099 Software\Policies\Mozilla\Firefox\Cookies\Locked = 0x1 | 0x0
1100 ```
1101 #### macOS
1102 ```
1103 <dict>
1104 <key>Cookies</key>
1105 <dict>
1106 <key>Enabled</key>
1107 <true/> | <false/>
1108 <key>ProviderURL</key>
1109 <string>URL_TO_ALTERNATE_PROVIDER</string>
1110 <key>Locked</key>
1111 <true/> | <false/>
1112 </dict>
1113 </dict>
1114 ```
1115 #### JSON
1116 ```
1117 {
1118 "policies": {
1119 "DNSOverHTTPS": {
1120 "Enabled": true | false,
1121 "ProviderURL": "URL_TO_ALTERNATE_PROVIDER",
1122 "Locked": true | false
1123 }
1124 }
1125 }
1126 ```
1127 ### DontCheckDefaultBrowser
1128 Don't check if Firefox is the default browser at startup.
1129
1130 **Compatibility:** Firefox 60, Firefox ESR 60\
1131 **CCK2 Equivalent:** `dontCheckDefaultBrowser`\
1132 **Preferences Affected:** `browser.shell.checkDefaultBrowser`
1133
1134 #### Windows
1135 ```
1136 Software\Policies\Mozilla\Firefox\DontCheckDefaultBrowser = 0x1 | 0x0
1137 ```
1138 #### macOS
1139 ```
1140 <dict>
1141 <key>DontCheckDefaultBrowser</key>
1142 <true/> | <false/>
1143 </dict>
1144 ```
1145 #### JSON
1146 ```
1147 {
1148 "policies": {
1149 "DontCheckDefaultBrowser": true | false
1150 }
1151 }
1152 ```
1153 ### EnableTrackingProtection
1154 Configure tracking protection.
1155
1156 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.
1157
1158 If `Value` is set to false, tracking protection is disabled and locked in both the regular browser and private browsing.
1159
1160 If `Value` is set to true, tracking protection is enabled by default in both the regular browser and private browsing and the `Locked` value determines whether or not a user can change it.
1161
1162 **Compatibility:** Firefox 60, Firefox ESR 60\
1163 **CCK2 Equivalent:** `dontCheckDefaultBrowser`\
1164 **Preferences Affected:** `privacy.trackingprotection.enabled`,`privacy.trackingprotection.pbmode.enabled`
1165
1166 #### Windows
1167 ```
1168 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Value = 0x1 | 0x0
1169 Software\Policies\Mozilla\Firefox\EnableTrackingProtection\Locked = 0x1 | 0x0
1170 ```
1171 #### macOS
1172 ```
1173 <dict>
1174 <key>EnableTrackingProtection</key>
1175 <dict>
1176 <key>Value</key>
1177 <true/> | <false/>
1178
1179 <key><Locked/key>
1180 <true/> | <false/>
1181 </dict>
1182 </dict>
1183 ```
1184 #### JSON
1185 ```
1186 {
1187 "policies": {
1188 "EnableTrackingProtection": {
1189 "Value": [true, false],
1190 "Locked": [true, false]
1191 }
1192 }
1193 ```
1194 ### Extensions
1195 Control the installation, uninstallation and locking of extensions.
1196
1197 `Install` is a list of URLs or native paths for extensions to be installed.
1198
1199 `Uninstall` is a list of extension IDs that should be uninstalled if found.
1200
1201 `Locked` is a list of extension IDs that the user cannot disable or uninstall.
1202
1203 **Compatibility:** Firefox 60, Firefox ESR 60\
1204 **CCK2 Equivalent:** `addons`\
1205 **Preferences Affected:** N/A
1206
1207 #### Windows
1208 ```
1209 Software\Policies\Mozilla\Firefox\Extensions\Install\1 = "https://addons.mozilla.org/firefox/downloads/somefile.xpi"
1210 Software\Policies\Mozilla\Firefox\Extensions\Install\2 = "//path/to/xpi"
1211 Software\Policies\Mozilla\Firefox\Extensions\Uninstall\1 = "bad_addon_id@mozilla.org"
1212 Software\Policies\Mozilla\Firefox\Extensions\Locked\1 = "addon_id@mozilla.org"
1213 ```
1214 #### macOS
1215 ```
1216 <dict>
1217 <key>Extensions</key>
1218 <dict>
1219 <key>Install</key>
1220 <array>
1221 <string>https://addons.mozilla.org/firefox/downloads/somefile.xpi</string>
1222 <string>//path/to/xpi</string>
1223 </array>
1224 <key>Uninstall</key>
1225 <array>
1226 <string>bad_addon_id@mozilla.org</string>
1227 </array>
1228 <key>Locked</key>
1229 <array>
1230 <string>addon_id@mozilla.org</string>
1231 </array>
1232 </dict>
1233 </dict>
1234 ```
1235 #### JSON
1236
1237
1238 ```
1239 {
1240 "policies": {
1241 "Extensions": {
1242 "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"],
1243 "Uninstall": ["bad_addon_id@mozilla.org"],
1244 "Locked": ["addon_id@mozilla.org"]
1245 }
1246 }
1247 }
1248 ```
1249 ### ExtensionUpdate
1250 Control extension updates.
1251
1252 **Compatibility:** Firefox 67, Firefox ESR 60.7\
1253 **CCK2 Equivalent:** N/A\
1254 **Preferences Affected:** `extensions.update.enabled`
1255
1256 #### Windows
1257 ```
1258 Software\Policies\Mozilla\Firefox\ExtensionUpdate = 0x1 | 0x0
1259 ```
1260 #### macOS
1261 ```
1262 <dict>
1263 <key>ExtensionUpdate</key>
1264 <true/> | <false/>
1265 </dict>
1266 ```
1267 #### JSON
1268 ```
1269 {
1270 "policies": {
1271 "ExtensionUpdate": true | false
1272 }
1273 }
1274 ```
1275 ### FlashPlugin
1276 Configure the default Flash plugin policy as well as origins for which Flash is allowed.
1277
1278 `Allow` is a list of origins where Flash are allowed.
1279
1280 `Block` is a list of origins where Flash is not allowed.
1281
1282 `Default` determines whether or not Flash is allowed by default.
1283
1284 `Locked` prevents the user from changing Flash preferences.
1285
1286 **Compatibility:** Firefox 60, Firefox ESR 60\
1287 **CCK2 Equivalent:** `permissions.plugin`\
1288 **Preferences Affected:** `plugin.state.flash`
1289
1290 #### Windows
1291 ```
1292 Software\Policies\Mozilla\Firefox\FlashPlugin\Allow\1 = "https://example.org"
1293 Software\Policies\Mozilla\Firefox\FlashPlugin\Block\1 = "https://example.edu"
1294 Software\Policies\Mozilla\Firefox\FlashPlugin\Default = 0x1 | 0x0
1295 Software\Policies\Mozilla\Firefox\FlashPlugin\Locked = 0x1 | 0x0
1296 ```
1297 #### macOS
1298 ```
1299 <dict>
1300 <key>FlashPlugin</key>
1301 <dict>
1302 <key>Allow</key>
1303 <array>
1304 <string>http://example.org</string>
1305 </array>
1306 <key>Block</key>
1307 <array>
1308 <string>http://example.edu</string>
1309 </array>
1310 <key>Default</key>
1311 <true/> | <false/>
1312 <key>Locked</key>
1313 <true/> | <false/>
1314 </dict>
1315 </dict>
1316 ```
1317 #### JSON
1318 ```
1319 {
1320 "policies": {
1321 "FlashPlugin": {
1322 "Allow": ["http://example.org/"],
1323 "Block": ["http://example.edu/"],
1324 "Default": true | false,
1325 "Locked": true | false
1326 }
1327 }
1328 }
1329 ```
1330 ### HardwareAcceleration
1331 Control hardware acceleration.
1332
1333 **Compatibility:** Firefox 60, Firefox ESR 60\
1334 **CCK2 Equivalent:** N/A\
1335 **Preferences Affected:** `layers.acceleration.disabled`
1336
1337 #### Windows
1338 ```
1339 Software\Policies\Mozilla\Firefox\HardwareAcceleration = 0x1 | 0x0
1340 ```
1341 #### macOS
1342 ```
1343 <dict>
1344 <key>HardwareAcceleration</key>
1345 <true/> | <false/>
1346 </dict>
1347 ```
1348 #### JSON
1349 ```
1350 {
1351 "policies": {
1352 "HardwareAcceleration": true | false
1353 }
1354 }
1355 ```
1356 ### Homepage
1357 Configure the default homepage and how Firefox starts.
1358
1359 `URL` is the default homepage.
1360
1361 `Locked` prevents the user from changing homepage preferences.
1362
1363 `Additional` allows for more than one homepage.
1364
1365 `StartPage` is how Firefox starts. The choices are no homepage, the default homepage or the previous session.
1366
1367 **Compatibility:** Firefox 60, Firefox ESR 60 (StartPage was added in Firefox 60, Firefox ESR 60.4)\
1368 **CCK2 Equivalent:** `homePage`,`lockHomePage`\
1369 **Preferences Affected:** `browser.startup.homepage`,`browser.startup.page`
1370
1371 #### Windows
1372 ```
1373 Software\Policies\Mozilla\Firefox\Homepage\URL = "https://example.com"
1374 Software\Policies\Mozilla\Firefox\Homepage\Locked = 0x1 | 0x0
1375 Software\Policies\Mozilla\Firefox\Homepage\Additional\1 = "https://example.org"
1376 Software\Policies\Mozilla\Firefox\Homepage\Additional\2 = "https://example.edu"
1377 Software\Policies\Mozilla\Firefox\Homepage\StartPage = "none" | "homepage" | "previous-session"
1378 ```
1379 #### macOS
1380 ```
1381 <dict>
1382 <key>Homepage</key>
1383 <dict>
1384 <key>URL</key>
1385 <string>http://example.com</string>
1386 <key>Locked</key>
1387 <true/> | <false/>
1388 <key>Additional</key>
1389 <array>
1390 <string>http://example.org</string>
1391 <string>http://example.edu</string>
1392 </array>
1393 <key>StartPage</key>
1394 <string>always | never | from-visited</string>
1395 </dict>
1396 </dict>
1397 ```
1398 #### JSON
1399 ```
1400 {
1401 "policies": {
1402 "Homepage": {
1403 "URL": "http://example.com/",
1404 "Locked": true | false,
1405 "Additional": ["http://example.org/",
1406 "http://example.edu/"],
1407 "StartPage": "none" | "homepage" | "previous-session"
1408 }
1409 }
1410 }
1411 ```
1412 ### InstallAddonsPermission
1413 Configure the default extension install policy as well as origins for extension installs are allowed. This policy does not override turning off all extension installs.
1414
1415 `Allow` is a list of origins where extension installs are allowed.
1416
1417 `Default` determines whether or not extension installs are allowed by default.
1418
1419 **Compatibility:** Firefox 60, Firefox ESR 60\
1420 **CCK2 Equivalent:** `permissions.install`\
1421 **Preferences Affected:** `xpinstall.enabled`
1422
1423 #### Windows
1424 ```
1425 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\1 = "https://example.org"
1426 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Allow\2 = "https://example.edu"
1427 Software\Policies\Mozilla\Firefox\InstallAddonsPermission\Default = 0x1 | 0x0
1428 ```
1429 #### macOS
1430 ```
1431 <dict>
1432 <key>InstallAddonsPermission</key>
1433 <dict>
1434 <key>Allow</key>
1435 <array>
1436 <string>http://example.org</string>
1437 <string>http://example.edu</string>
1438 </array>
1439 <key>Default</key>
1440 <true/> | <false/>
1441 </dict>
1442 </dict>
1443 ```
1444 #### JSON
1445 ```
1446 {
1447 "policies": {
1448 "InstallAddonsPermission": {
1449 "Allow": ["http://example.org/",
1450 "http://example.edu/"],
1451 "Default": true | false
1452 }
1453 }
1454 }
1455 ```
1456 ### NoDefaultBookmarks
1457 Disable the creation of default bookmarks.
1458
1459 This policy is only effective if the user profile has not been created yet.
1460
1461 **Compatibility:** Firefox 60, Firefox ESR 60\
1462 **CCK2 Equivalent:** `removeDefaultBookmarks`\
1463 **Preferences Affected:** N/A
1464
1465 #### Windows
1466 ```
1467 Software\Policies\Mozilla\Firefox\NoDefaultBookmarks = 0x1 | 0x0
1468 ```
1469 #### macOS
1470 ```
1471 <dict>
1472 <key>NoDefaultBookmarks</key>
1473 <true/> | <false/>
1474 </dict>
1475 ```
1476 #### JSON
1477 ```
1478 {
1479 "policies": {
1480 "NoDefaultBookmarks": true | false
1481 }
1482 }
1483 ```
1484 ### NetworkPrediction
1485 Enable or disable network prediction (DNS prefetching).
1486
1487 **Compatibility:** Firefox 67, Firefox ESR 60.7\
1488 **CCK2 Equivalent:** N/A\
1489 **Preferences Affected:** `network.dns.disablePrefetch`,`network.dns.disablePrefetchFromHTTPS`
1490
1491 #### Windows
1492 ```
1493 Software\Policies\Mozilla\Firefox\NetworkPrediction = 0x1 | 0x0
1494 ```
1495 #### macOS
1496 ```
1497 <dict>
1498 <key>NetworkPrediction</key>
1499 <true/> | <false/>
1500 </dict>
1501 ```
1502 #### JSON
1503 ```
1504 {
1505 "policies": {
1506 "NetworkPrediction": true | false
1507 }
1508 ```
1509 ### OfferToSaveLogins
1510 Control whether or not Firefox offers to save passwords.
1511
1512 **Compatibility:** Firefox 60, Firefox ESR 60\
1513 **CCK2 Equivalent:** `dontRememberPasswords`\
1514 **Preferences Affected:** `signon.rememberSignons`
1515
1516 #### Windows
1517 ```
1518 Software\Policies\Mozilla\Firefox\OfferToSaveLogins = 0x1 | 0x0
1519 ```
1520 #### macOS
1521 ```
1522 <dict>
1523 <key>OfferToSaveLogins</key>
1524 <true/> | <false/>
1525 </dict>
1526 ```
1527 #### JSON
1528 ```
1529 {
1530 "policies": {
1531 "OfferToSaveLogins": true | false
1532 }
1533 }
1534 ```
1535 ### OverrideFirstRunPage
1536 Override the first run page. If the value is blank, no first run page is displayed.
1537
1538 **Compatibility:** Firefox 60, Firefox ESR 60\
1539 **CCK2 Equivalent:** `welcomePage`,`noWelcomePage`\
1540 **Preferences Affected:** `startup.homepage_welcome_url`
1541
1542 #### Windows
1543 ```
1544 Software\Policies\Mozilla\Firefox\OverrideFirstRunPage = "http://example.org"
1545 ```
1546 #### macOS
1547 ```
1548 <dict>
1549 <key>OverrideFirstRunPage</key>
1550 <string>http://example.org</string>
1551 </dict>
1552 ```
1553 #### JSON
1554 ```
1555 {
1556 "policies": {
1557 "OverrideFirstRunPage": ""http://example.org""
1558 }
1559 ```
1560 ### OverridePostUpdatePage
1561 Override the upgrade page. If the value is blank, no upgrade page is displayed.
1562
1563 **Compatibility:** Firefox 60, Firefox ESR 60\
1564 **CCK2 Equivalent:** `upgradePage`,`noUpgradePage`\
1565 **Preferences Affected:** `startup.homepage_override_url`
1566
1567 #### Windows
1568 ```
1569 Software\Policies\Mozilla\Firefox\OverridePostUpdatePage = "http://example.org"
1570 ```
1571 #### macOS
1572 ```
1573 <dict>
1574 <key>OverridePostUpdatePage</key>
1575 <string>http://example.org</string>
1576 </dict>
1577 ```
1578 #### JSON
1579 ```
1580 {
1581 "policies": {
1582 "OverridePostUpdatePage": ""http://example.org""
1583 }
1584 ```
1585 ### Permissions
1586 Set permissions associated with camera, microphone, location, and notifications
1587
1588 `Allow` is a list of origins where the feature is allowed.
1589
1590 `Block` is a list of origins where the feature is not allowed.
1591
1592 `BlockNewRequests` determines whether or not new requests can be made for the feature.
1593
1594 `Locked` prevents the user from changing preferences for the feature.
1595
1596 **Compatibility:** Firefox 62, Firefox ESR 60.2\
1597 **CCK2 Equivalent:** N/A\
1598 **Preferences Affected:** `permissions.default.camera`,`permissions.default.microphone`,`permissions.default.geo`,`permissions.default.desktop-notification`
1599
1600 #### Windows
1601 ```
1602 Software\Policies\Mozilla\Firefox\Permissions\Camera\Allow\1 = "https://example.org"
1603 Software\Policies\Mozilla\Firefox\Permissions\Camera\Block\1 = "https://example.edu"
1604 Software\Policies\Mozilla\Firefox\Permissions\Camera\BlockNewRequests = 0x1 | 0x0
1605 Software\Policies\Mozilla\Firefox\Permissions\Camera\Locked = 0x1 | 0x0
1606 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Allow\1 = "https://example.org"
1607 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Block\1 = "https://example.edu"
1608 Software\Policies\Mozilla\Firefox\Permissions\Microphone\BlockNewRequests = 0x1 | 0x0
1609 Software\Policies\Mozilla\Firefox\Permissions\Microphone\Locked = 0x1 | 0x0
1610 Software\Policies\Mozilla\Firefox\Permissions\Location\Allow\1 = "https://example.org"
1611 Software\Policies\Mozilla\Firefox\Permissions\Location\Block\1 = "https://example.edu"
1612 Software\Policies\Mozilla\Firefox\Permissions\Location\BlockNewRequests = 0x1 | 0x0
1613 Software\Policies\Mozilla\Firefox\Permissions\Location\Locked = 0x1 | 0x0
1614 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Allow\1 = "https://example.org"
1615 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Block\1 = "https://example.edu"
1616 Software\Policies\Mozilla\Firefox\Permissions\Notifications\BlockNewRequests = 0x1 | 0x0
1617 Software\Policies\Mozilla\Firefox\Permissions\Notifications\Locked = 0x1 | 0x0
1618 ```
1619 #### macOS
1620 ```
1621 <dict>
1622 <key>Permissions</key>
1623 <dict>
1624 <key>Camera</key>
1625 <dict>
1626 <key>Allow</key>
1627 <array>
1628 <string>https://example.org</string>
1629 </array>
1630 <key>Block</key>
1631 <array>
1632 <string>https://example.edu</string>
1633 </array>
1634 <key>BlockNewRequests</key>
1635 <true/>
1636 <key>Locked</key>
1637 <true/>
1638 </dict>
1639 <key>Microphone</key>
1640 <dict>
1641 <key>Allow</key>
1642 <array>
1643 <string>https://example.org</string>
1644 </array>
1645 <key>Block</key>
1646 <array>
1647 <string>https://example.edu</string>
1648 </array>
1649 <key>BlockNewRequests</key>
1650 <true/>
1651 <key>Locked</key>
1652 <true/>
1653 </dict>
1654 <key>Location</key>
1655 <dict>
1656 <key>Allow</key>
1657 <array>
1658 <string>https://example.org</string>
1659 </array>
1660 <key>Block</key>
1661 <array>
1662 <string>https://example.edu</string>
1663 </array>
1664 <key>BlockNewRequests</key>
1665 <true/>
1666 <key>Locked</key>
1667 <true/>
1668 </dict>
1669 <key>Notifications</key>
1670 <dict>
1671 <key>Allow</key>
1672 <array>
1673 <string>https://example.org</string>
1674 </array>
1675 <key>Block</key>
1676 <array>
1677 <string>https://example.edu</string>
1678 </array>
1679 <key>BlockNewRequests</key>
1680 <true/>
1681 <key>Locked</key>
1682 <true/>
1683 </dict>
1684 </dict>
1685 </dict>
1686 ```
1687 #### JSON
1688 ```
1689 {
1690 "policies": {
1691 "Permissions": {
1692 "Camera": {
1693 "Allow": ["https://example.org"],
1694 "Block": ["https://example.edu"],
1695 "BlockNewRequests": true | false,
1696 "Locked": true | false
1697 },
1698 "Microphone": {
1699 "Allow": ["https://example.org"],
1700 "Block": ["https://example.edu"],
1701 "BlockNewRequests": true | false,
1702 "Locked": true | false
1703 },
1704 "Location": {
1705 "Allow": ["https://example.org"],
1706 "Block": ["https://example.edu"],
1707 "BlockNewRequests": true | false,
1708 "Locked": true | false
1709 },
1710 "Notifications": {
1711 "Allow": ["https://example.org"],
1712 "Block": ["https://example.edu"],
1713 "BlockNewRequests": true | false,
1714 "Locked": true | false
1715 }
1716 }
1717 }
1718 }
1719 ```
1720 ### PopupBlocking
1721 Configure the default pop-up window policy as well as origins for which pop-up windows are allowed.
1722
1723 `Allow` is a list of origins where popup-windows are allowed.
1724
1725 `Default` determines whether or not pop-up windows are allowed by default.
1726
1727 `Locked` prevents the user from changing pop-up preferences.
1728
1729 **Compatibility:** Firefox 60, Firefox ESR 60\
1730 **CCK2 Equivalent:** `permissions.popup`\
1731 **Preferences Affected:** `dom.disable_open_during_load`
1732
1733 #### Windows
1734 ```
1735 Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\1 = "https://example.org"
1736 Software\Policies\Mozilla\Firefox\PopupBlocking\Allow\2 = "https://example.edu"
1737 Software\Policies\Mozilla\Firefox\PopupBlocking\Default = 0x1 | 0x0
1738 Software\Policies\Mozilla\Firefox\PopupBlocking\Locked = 0x1 | 0x0
1739 ```
1740 #### macOS
1741 ```
1742 <dict>
1743 <key>PopupBlocking</key>
1744 <dict>
1745 <key>Allow</key>
1746 <array>
1747 <string>http://example.org</string>
1748 <string>http://example.edu</string>
1749 </array>
1750 <key>Default</key>
1751 <true/> | <false/>
1752 <key>Locked</key>
1753 <true/> | <false/>
1754 </dict>
1755 </dict>
1756 ```
1757 #### JSON
1758 ```
1759 {
1760 "policies": {
1761 "PopupBlocking": {
1762 "Allow": ["http://example.org/",
1763 "http://example.edu/"],
1764 "Default": true | false,
1765 "Locked": true | false
1766 }
1767 }
1768 }
1769 ```
1770 ### Preferences
1771 Set and lock certain preferences.
1772
1773 **Compatibility:** See below\
1774 **CCK2 Equivalent:** `preferences`\
1775 **Preferences Affected:** See below
1776
1777 | Preference | Type | Compatibility
1778 | --- | --- | ---
1779 | app.update.auto | boolean | Firefox 68, Firefox 68 ESR
1780 | browser.cache.disk.enable | boolean | Firefox 68, Firefox 68 ESR
1781 | browser.cache.disk.parent_directory | string | Firefox 68, Firefox 68 ESR
1782 | browser.fixup.dns_first_for_single_words | boolean | Firefox 68, Firefox 68 ESR
1783 | browser.search.update | boolean | Firefox 68, Firefox 68 ESR
1784 | browser.tabs.warnOnClose | boolean | Firefox 68, Firefox 68 ESR
1785 | browser.urlbar.suggest.bookmark | boolean | Firefox 68, Firefox 68 ESR
1786 | browser.urlbar.suggest.history | boolean | Firefox 68, Firefox 68 ESR
1787 | browser.urlbar.suggest.openpage | boolean | Firefox 68, Firefox 68 ESR
1788 | datareporting.policy.dataSubmissionPolicyBypassNotification | boolean | Firefox 68, Firefox 68 ESR
1789 | dom.disable_window_flip | boolean | Firefox 68, Firefox 68 ESR
1790 | dom.disable_window_move_resize | boolean | Firefox 68, Firefox 68 ESR
1791 | dom.event.contextmenu.enabled | boolean | Firefox 68, Firefox 68 ESR
1792 | dom.keyboardevent.keypress.hack.dispatch_non_printable_keys.addl | string | Firefox 68, Firefox 68 ESR
1793 | dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode.addl | string | Firefox 68, Firefox 68 ESR
1794 | extensions.getAddons.showPane | boolean | Firefox 68, Firefox 68 ESR
1795 | media.gmp-gmpopenh264.enabled | boolean | Firefox 68, Firefox 68 ESR
1796 | media.gmp-widevinecdm.enabled | boolean | Firefox 68, Firefox 68 ESR
1797 | network.dns.disableIPv6 | boolean | Firefox 68, Firefox 68 ESR
1798 | network.IDN_show_punycode | boolean | Firefox 68, Firefox 68 ESR
1799 | places.history.enabled | boolean | Firefox 68, Firefox 68 ESR
1800 | security.default_personal_cert | string | Firefox 68, Firefox 68 ESR
1801 | security.ssl.errorReporting.enabled | boolean | Firefox 68, Firefox 68 ESR
1802 | ui.key.menuAccessKeyFocuses | boolean | Firefox 68, Firefox 68 ESR
1803 #### Windows
1804 ```
1805 Software\Policies\Mozilla\Firefox\Preferences\boolean_preference_name = 0x1 | 0x0
1806 Software\Policies\Mozilla\Firefox\Preferences\string_preference_name = "string_value"
1807 ```
1808 #### macOS
1809 ```
1810 <dict>
1811 <key>Preference</key>
1812 <dict>
1813 <key>boolean_preference_name</key>
1814 <true/> | <false/>
1815 <key>string_preference_name</key>
1816 <string>string_value</string>
1817 </dict>
1818 </dict>
1819 ```
1820 #### JSON
1821 ```
1822 {
1823 "policies": {
1824 "Preference": {
1825 "boolean_preference_name": true | false,
1826 "string_preference_name": "string_value"
1827 }
1828 }
1829 }
1830 ```
1831 ### Proxy
1832 Configure proxy settings. These settings correspond to the connection settings in Firefox preferences.
1833 To specify ports, append them to the hostnames with a colon (:).
1834
1835 `Mode` is the proxy method being used.
1836
1837 `Locked` is whether or not proxy settings can be changed.
1838
1839 `HTTPProxy` is the HTTP proxy server.
1840
1841 `UseHTTPProxyForAllProtocols` is whether or not the HTTP proxy should be used for all other proxies.
1842
1843 `SSLProxy` is the SSL proxy server.
1844
1845 `FTPProxy` is the FTP proxy server.
1846
1847 `SOCKSProxy` is the SOCKS proxy server
1848
1849 `SOCKSVersion` is the SOCKS version (4 or 5)
1850
1851 `Passthrough` is list of hostnames or IP addresses that will not be proxied. Use `<local>` to bypass proxying for all hostnames which do not contain periods.
1852
1853 `AutoConfigURL` is a URL for proxy configuration (only used if Mode is autoConfig).
1854
1855 `AutoLogin` means do not prompt for authentication if password is saved.
1856
1857 `UseProxyForDNS` to use proxy DNS when using SOCKS v5.
1858
1859 **Compatibility:** Firefoox 60, Firefox ESR 60\
1860 **CCK2 Equivalent:** `networkProxy*`\
1861 **Preferences Affected:** `network.proxy.type`,`network.proxy.autoconfig_url`,`network.proxy.socks_remote_dns`,`signon.autologin.proxy`,`network.proxy.socks_version`,`network.proxy.no_proxies_on`,`network.proxy.share_proxy_settings`,`network.proxy.http`,`network.proxy.http_port`,`network.proxy.ftp`,`network.proxy.ftp_port`,`network.proxy.ssl`,`network.proxy.ssl_port`,`network.proxy.socks`,`network.proxy.socks_port`
1862
1863 #### Windows
1864 ```
1865 Software\Policies\Mozilla\Firefox\Proxy\Mode = "none", "system", "manual", "autoDetect", "autoConfig"
1866 Software\Policies\Mozilla\Firefox\Proxy\Locked = 0x1 | 0x0
1867 Software\Policies\Mozilla\Firefox\=Proxy\HTTPProxy = https://httpproxy.example.com
1868 Software\Policies\Mozilla\Firefox\Proxy\UseHTTPProxyForAllProtocols = 0x1 | 0x0
1869 Software\Policies\Mozilla\Firefox\Proxy\SSLProxy = https://sslproxy.example.com
1870 Software\Policies\Mozilla\Firefox\Proxy\FTPProxy = https://ftpproxy.example.com
1871 Software\Policies\Mozilla\Firefox\Proxy\SOCKSProxy = https://socksproxy.example.com
1872 Software\Policies\Mozilla\Firefox\Proxy\SOCKSVersion = 0x4 | 0x5
1873 Software\Policies\Mozilla\Firefox\Proxy\Passthrough = <local>
1874 Software\Policies\Mozilla\Firefox\Proxy\AutoConfigURL = URL_TO_AUTOCONFIG
1875 Software\Policies\Mozilla\Firefox\Proxy\AutoLogin = 0x1 | 0x0
1876 Software\Policies\Mozilla\Firefox\Proxy\UseProxyForDNS = 0x1 | 0x0
1877 ```
1878 #### macOS
1879 ```
1880 <dict>
1881 <key>Proxy</key>
1882 <dict>
1883 <key>Mode</key>
1884 <string>none | system | manual | autoDetect| autoConfig</string>
1885 <key>Locked</key>
1886 <true> | </false>
1887 <key>HTTPProxy</key>
1888 <string>https://httpproxy.example.com</string>
1889 <key>UseHTTPProxyForAllProtocols</key>
1890 <true> | </false>
1891 <key>SSLProxy</key>
1892 <string>https://sslproxy.example.com</string>
1893 <key>FTPProxy</key>
1894 <string>https://ftpproxy.example.com</string>
1895 <key>SOCKSProxy</key>
1896 <string>https://socksproxy.example.com</string>
1897 <key>SOCKSVersion</key>
1898 <string>4 | 5</string>
1899 <key>Passthrough</key>
1900 <string>&lt;local>&gt;</string>
1901 <key>AutoConfigURL</key>
1902 <string>URL_TO_AUTOCONFIG</string>
1903 <key>AutoLogin</key>
1904 <true> | </false>
1905 <key>UseProxyForDNS</key>
1906 <true> | </false>
1907 </dict>
1908 </dict>
1909 ```
1910 ### JSON
1911 ```
1912 {
1913 "policies": {
1914 "Proxy": {
1915 "Mode": "none", "system", "manual", "autoDetect", "autoConfig",
1916 "Locked": [true, false],
1917 "HTTPProxy": "hostname",
1918 "UseHTTPProxyForAllProtocols": [true, false],
1919 "SSLProxy": "hostname",
1920 "FTPProxy": "hostname",
1921 "SOCKSProxy": "hostname",
1922 "SOCKSVersion": 4 | 5
1923 "Passthrough": "<local>",
1924 "AutoConfigURL": "URL_TO_AUTOCONFIG",
1925 "AutoLogin": [true, false],
1926 "UseProxyForDNS": [true, false]
1927 }
1928 }
1929 }
1930 ```
1931 ### RequestedLocales
1932 Set the the list of requested locales for the application in order of preference. It will cause the corresponding language pack to become active.
1933
1934 **Compatibility:** Firefox 64, Firefox ESR 60.4\
1935 **CCK2 Equivalent:** N/A\
1936 **Preferences Affected:** N/A
1937 #### Windows
1938 ```
1939 Software\Policies\Mozilla\Firefox\RequestedLocales\1 = "de"
1940 Software\Policies\Mozilla\Firefox\RequestedLocales\2 = "en-US"
1941 ```
1942 #### macOS
1943 ```
1944 <dict>
1945 <key>RequestedLocales</key>
1946 <array>
1947 <string>de</string>
1948 <string>en-US</string>
1949 </array>
1950 </dict>
1951 ```
1952 #### JSON
1953 ```
1954 {
1955 "policies": {
1956 "RequestedLocales": ["de", "en-US"]
1957 }
1958 }
1959 ```
1960 ### SanitizeOnShutdown
1961 Clear all data on shutdown, including Browsing & Download History, Cookies, Active Logins, Cache, Form & Search History, Site Preferences and Offline Website Data.
1962
1963 **Compatibility:** Firefox 60, Firefox ESR 60\
1964 **CCK2 Equivalent:** N/A\
1965 **Preferences Affected:** `privacy.sanitize.sanitizeOnShutdown,privacy.clearOnShutdown.cache,privacy.clearOnShutdown.cookies,privacy.clearOnShutdown.downloads,privacy.clearOnShutdown.formdata,privacy.clearOnShutdown.history,privacy.clearOnShutdown.sessions,privacy.clearOnShutdown.siteSettings,privacy.clearOnShutdown.offlineApps`
1966 #### Windows
1967 ```
1968 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown = 0x1 | 0x0
1969 ```
1970 #### macOS
1971 ```
1972 <dict>
1973 <key>SanitizeOnShutdown</key>
1974 <true/> | <false/>
1975 </dict>
1976 ```
1977 #### JSON
1978 ```
1979 {
1980 "policies": {
1981 "SanitizeOnShutdown": true | false
1982 }
1983 }
1984 ```
1985 ### SearchBar
1986 Set whether or not search bar is displayed.
1987
1988 **Compatibility:** Firefox 60, Firefox ESR 60\
1989 **CCK2 Equivalent:** `showSearchBar`\
1990 **Preferences Affected:** N/A
1991
1992 #### Windows
1993 ```
1994 Software\Policies\Mozilla\Firefox\SearchBar = "unified" | "separate"
1995 ```
1996 #### macOS
1997 ```
1998 <dict>
1999 <key>SearchBar</key>
2000 <string>unified | separate</string>
2001 </dict>
2002 ```
2003
2004 #### JSON
2005 ```
2006 {
2007 "policies": {
2008 "SearchBar": "unified" | "separate"
2009 }
2010 }
2011 ```
2012
2013
2014
2015
2016
2017 ### SearchEngines (This policy is only available on the ESR.)
2018
2019 ### SearchEngines | Default
2020
2021 Set the default search engine. This policy is only available on the ESR.
2022
2023 **Compatibility:** Firefox ESR 60\
2024 **CCK2 Equivalent:** `defaultSearchEngine`\
2025 **Preferences Affected:** N/A
2026
2027 ### Windows
2028 ```
2029 Software\Policies\Mozilla\Firefox\SearchEngines\Default = NAME_OF_SEARCH_ENGINE
2030 ```
2031 #### macOS
2032 ```
2033 <dict>
2034 <key>SearchEngines</key>
2035 <dict>
2036 <key>Default</key>
2037 <string>NAME_OF_SEARCH_ENGINE</string>
2038 </dict>
2039 </dict>
2040 ```
2041 ### JSON
2042 ```
2043 {
2044 "policies": {
2045 "SearchEngines": {
2046 "Default": "NAME_OF_SEARCH_ENGINE"
2047 }
2048 }
2049 }
2050 ```
2051 ### SearchEngines | PreventInstalls
2052
2053 Prevent installing search engines from webpages.
2054
2055 **Compatibility:** Firefox ESR 60\
2056 **CCK2 Equivalent:** `disableSearchEngineInstall`\
2057 **Preferences Affected:** N/A
2058
2059 ### Windows
2060 ```
2061 Software\Policies\Mozilla\Firefox\SearchEngines\PreventInstalls = 0x1 | 0x0
2062 ```
2063 #### macOS
2064 ```
2065 <dict>
2066 <key>SearchEngines</key>
2067 <dict>
2068 <key>PreventInstalls</key>
2069 <true/> | <false/>
2070 </dict>
2071 </dict>
2072 ```
2073 ### JSON
2074 ```
2075 {
2076 "policies": {
2077 "SearchEngines": {
2078 "PreventInstalls": true | false
2079 }
2080 }
2081 }
2082 ```
2083 ### SearchEngines | Remove
2084
2085 Hide built-in search engines. This policy is only available on the ESR.
2086
2087 **Compatibility:** Firefox ESR 60.2\
2088 **CCK2 Equivalent:** `removeDefaultSearchEngines` (removed all built-in engines)\
2089 **Preferences Affected:** N/A
2090
2091 ### Windows
2092 ```
2093 Software\Policies\Mozilla\Firefox\SearchEngines\Remove\1 = NAME_OF_SEARCH_ENGINE
2094 ```
2095 #### macOS
2096 ```
2097 <dict>
2098 <key>SearchEngines</key>
2099 <dict>
2100 <key>Remove</key>
2101 <array>
2102 <string>NAME_OF_SEARCH_ENGINE</string>
2103 </array>
2104 </dict>
2105 </dict>
2106 ```
2107 ### JSON
2108 ```
2109 {
2110 "policies": {
2111 "SearchEngines": {
2112 "Remove": ["NAME_OF_SEARCH_ENGINE"]
2113 }
2114 }
2115 }
2116 ```
2117 ### SearchEngines | Add
2118
2119 Adddd new search engines (up to five). This policy is only available on the ESR. `Name` and `URLTemplate` are required.
2120
2121 `Name` is the name of the search engine.
2122
2123 `URLTemplate` is the search URL with {searchTerms} to substitute for the search term.
2124
2125 `Method` is either GET or POST
2126
2127 `IconURL` is a URL for the icon to use.
2128
2129 `Alias` is a keyword to use for the engine.
2130
2131 `Description` is a description of the search engine.
2132
2133 `SuggestURLTemplate` is a search suggestions URL with {searchTerms} to substitute for the search term.
2134
2135 **Compatibility:** Firefox ESR 60\
2136 **CCK2 Equivalent:** `searchplugins`\
2137 **Preferences Affected:** N/A
2138
2139 #### Windows
2140 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Name = "Example1"
2141 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\URLTemplate = "https://www.example.org/q={searchTerms}"
2142 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Method = "GET" | "POST"
2143 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\IconURL = "https://www.example.org/favicon.ico"
2144 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Alias = "example"
2145 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Description = "Example Description"
2146 Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\SuggestURLTemplate = "https://www.example.org/suggestions/q={searchTerms}"
2147
2148 #### macOS
2149 ```
2150 <dict>
2151 <key>SearchEngines</key>
2152 <dict>
2153 <key>Add</key>
2154 <array>
2155 <dict>
2156 <key>Name</key>
2157 <string>Example1</string>
2158 <key>URLTemplate</key>
2159 <string>https://www.example.org/q={searchTerms}</string>
2160 <key>Method</key>
2161 <string>GET | POST </string>
2162 <key>IconURL</key>
2163 <string>https://www.example.org/favicon.ico</string>
2164 <key>Alias</key>
2165 <string>example</string>
2166 <key>Description</key>
2167 <string>Example Description</string>
2168 <key>SuggestURLTemplate</key>
2169 <string>https://www.example.org/suggestions/q={searchTerms}</string>
2170 </dict>
2171 <array>
2172 </dict>
2173 </dict>
2174 ```
2175 ### JSON
2176 ```
2177 {
2178 "policies": {
2179 "SearchEngines": {
2180 "Add": [
2181 {
2182 "Name": "Example1",
2183 "URLTemplate": "https://www.example.org/q={searchTerms}",
2184 "Method": "GET" | "POST",
2185 "IconURL": "https://www.example.org/favicon.ico",
2186 "Alias": "example",
2187 "Description": "Description",
2188 "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
2189 }
2190 ]
2191 }
2192 }
2193 }
2194 ```
2195 ### SecurityDevices
2196
2197 Install PKCS #11 modules.
2198
2199 **Compatibility:** Firefox 64, Firefox ESR 60.4\
2200 **CCK2 Equivalent:** `certs.devices`\
2201 **Preferences Affected:** N/A
2202
2203 #### Windows
2204 ```
2205 Software\Policies\Mozilla\Firefox\SecurityDevices\NAME_OF_DEVICE = PATH_TO_LIBRARY_FOR_DEVICE
2206 ```
2207 #### macOS
2208 ```
2209 <dict>
2210 <key>SecurityDevices</key>
2211 <dict>
2212 <key>NAME_OF_DEVICE</key>
2213 <string>PATH_TO_LIBRARY_FOR_DEVICE</string>
2214 </dict>
2215 </dict>
2216 ```
2217
2218 #### JSON
2219 ```
2220 {
2221 "policies": {
2222 "SecurityDevices": {
2223 "NAME_OF_DEVICE": "PATH_TO_LIBRARY_FOR_DEVICE"
2224 }
2225 }
2226 }
2227 ```
2228 ### SSLVersionMax
2229
2230 Set and lock the maximum version of TLS.
2231
2232 **Compatibility:** Firefox 66, Firefox ESR 60.6\
2233 **CCK2 Equivalent:** N/A\
2234 **Preferences Affected:** `security.tls.version.max`
2235
2236 #### Windows
2237 ```
2238 Software\Policies\Mozilla\Firefox\SSLVersionMax = "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2239 ```
2240 #### macOS
2241 ```
2242 <dict>
2243 <key>SSLVersionMax</key>
2244 <string>tls1 | tls1.1 | tls1.2 | tls1.3</string>
2245 </dict>
2246 ```
2247
2248 #### JSON
2249 ```
2250 {
2251 "policies": {
2252 "SSLVersionMax": "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2253 }
2254 }
2255 ```
2256 ### SSLVersionMin
2257
2258 Set and lock the minimum version of TLS.
2259
2260 **Compatibility:** Firefox 66, Firefox ESR 60.6\
2261 **CCK2 Equivalent:** N/A\
2262 **Preferences Affected:** `security.tls.version.min`
2263
2264 #### Windows
2265 ```
2266 Software\Policies\Mozilla\Firefox\SSLVersionMin = "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2267 ```
2268 #### macOS
2269 ```
2270 <dict>
2271 <key>SSLVersionMin</key>
2272 <string>tls1 | tls1.1 | tls1.2 | tls1.3</string>
2273 </dict>
2274 ```
2275
2276 #### JSON
2277 ```
2278 {
2279 "policies": {
2280 "SSLVersionMin": "tls1" | "tls1.1" | "tls1.2" | "tls1.3"
2281 }
2282 }
2283 ```
2284 ### WebsiteFilter
2285 Block websites from being visited. The parameters take an array of Match Patterns, as documented in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns. Only http/https addresses are supported at the moment. The arrays are limited to 1000 entries each.
2286
2287 **Compatibility:** Firefox 60, Firefox ESR 60\
2288 **CCK2 Equivalent:** N/A\
2289 **Preferences Affected:** N/A
2290
2291 #### Windows
2292 ```
2293 Software\Policies\Mozilla\Firefox\WebsiteFilters\Block\1 = "<all_urls>"
2294 Software\Policies\Mozilla\Firefox\WebsiteFilters\Exceptions\1 = "http://example.org/*"
2295 ```
2296 #### macOS
2297 ```
2298 <dict>
2299 <key>WebsiteFilter</key>
2300 <dict>
2301 <key>Block</key>
2302 <array>
2303 <string><all_urls></string>
2304 </array>
2305 <key>Exceptions</key>
2306 <array>
2307 <string>http://example.org/*</string>
2308 </array>
2309 </dict>
2310
2311 </dict>
2312 ```
2313 ### JSON
2314 ```
2315 {
2316 "policies": {
2317 "WebsiteFilter": {
2318 "Block": ["<all_urls>"],
2319 "Exceptions": ["http://example.org/*"]
2320 }
2321 }
2322 }
2323 ```

patrick-canterino.de