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

patrick-canterino.de