X-Git-Url: https://git.p6c8.net/policy-templates.git/blobdiff_plain/57fa7c4c90dc4a6c4108df9069150e2f663ce9c8..df0b6536d1f9f5facb41dc9970162c16bc3b4410:/README.md diff --git a/README.md b/README.md index 9feef0b..ed8696b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ Policies can be specified using the [Group Policy templates on Windows](https:// | Policy Name | Description | --- | --- | -| **[`AppAutoUpdate`](#appautoupdate)** | Enable or disable automatic application update. +| **[`3rdparty`](#3rdparty)** | Set policies that WebExtensions can access via chrome.storage.managed. +| **[`AppAutoUpdate`](#appautoupdate)** | Enable or disable automatic application update. | **[`AppUpdateURL`](#appupdateurl)** | Change the URL for application update. | **[`Authentication`](#authentication)** | Configure sites that support integrated authentication. | **[`BlockAboutAddons`](#blockaboutaddons)** | Block access to the Add-ons Manager (about:addons). @@ -62,6 +63,7 @@ Policies can be specified using the [Group Policy templates on Windows](https:// | **[`InstallAddonsPermission`](#installaddonspermission)** | Configure the default extension install policy as well as origins for extension installs are allowed. | **[`LegacyProfiles`](#legacyprofiles)** | Disable the feature enforcing a separate profile for each installation. | **[`LocalFileLinks`](#localfilelinks)** | Enable linking to local files by origin. +| **[`ManagedBookmarks`](#managedbookmarks)** | Configures a list of bookmarks managed by an administrator that cannot be changed by the user. | **[`PrimaryPassword`](#primarypassword)** | Require or prevent using a primary (formerly master) password. | **[`NetworkPrediction`](#networkprediction)** | Enable or disable network prediction (DNS prefetching). | **[`NewTabPage`](#newtabpage)** | Enable or disable the New Tab page. @@ -96,11 +98,15 @@ Policies can be specified using the [Group Policy templates on Windows](https:// | **[`UserMessaging`](#usermessaging)** | Don't show certain messages to the user. | **[`WebsiteFilter`](#websitefilter)** | Block websites from being visited. +### 3rdparty + +Allow WebExtensions to configure policy. For more information, see [Adding policy support to your extension](https://extensionworkshop.com/documentation/enterprise/adding-policy-support-to-your-extension/). + ### AppAutoUpdate Enable or disable **automatic** application update. -If set to true, application updates are installed without user approval. +If set to true, application updates are installed without user approval within Firefox. The operating system might still require approval. If set to false, application updates are downloaded but the user can choose when to install the update. @@ -140,7 +146,7 @@ Value (string): ``` ### AppUpdateURL -Change the URL for application update. +Change the URL for application update if you are providing Firefox updates from a custom update server. **Compatibility:** Firefox 62, Firefox ESR 60.2\ **CCK2 Equivalent:** N/A\ @@ -465,6 +471,8 @@ Value (string): ``` ### Bookmarks +Note: [`ManagedBookmarks`](#managedbookmarks) is the new recommended way to add bookmarks. This policy will continue to be supported. + 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. **Compatibility:** Firefox 60, Firefox ESR 60\ @@ -901,7 +909,7 @@ Value (string): } ``` ### DisableAppUpdate -Turn off application updates. +Turn off application updates within Firefox. **Compatibility:** Firefox 60, Firefox ESR 60\ **CCK2 Equivalent:** `disableFirefoxUpdates`\ @@ -1050,7 +1058,7 @@ Value (string): ``` { "policies": { - "DisabledCiphers" { + "DisabledCiphers": { "TLS_DHE_RSA_WITH_AES_128_CBC_SHA": true | false, "TLS_DHE_RSA_WITH_AES_256_CBC_SHA": true | false, "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": true | false, @@ -1059,8 +1067,8 @@ Value (string): "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": true | false, "TLS_RSA_WITH_AES_128_CBC_SHA": true | false, "TLS_RSA_WITH_AES_256_CBC_SHA": true | false, - "TLS_RSA_WITH_3DES_EDE_CBC_SHA": true | false - "TLS_RSA_WITH_AES_128_GCM_SHA256": true | false + "TLS_RSA_WITH_3DES_EDE_CBC_SHA": true | false, + "TLS_RSA_WITH_AES_128_GCM_SHA256": true | false, "TLS_RSA_WITH_AES_256_GCM_SHA384": true | false } } @@ -1069,6 +1077,8 @@ Value (string): ### DisableDefaultBrowserAgent Prevent the default browser agent from taking any actions. Only applicable to Windows; other platforms don’t have the agent. +The browser agent is a Windows-only scheduled task which runs in the background to collect and submit data about the browser that the user has set as their OS default. More information is available [here](https://firefox-source-docs.mozilla.org/toolkit/mozapps/defaultagent/default-browser-agent/index.html). + **Compatibility:** Firefox 75, Firefox ESR 68.7 (Windows only)\ **CCK2 Equivalent:** N/A\ **Preferences Affected:** N/A @@ -2264,13 +2274,13 @@ The configuration for each extension is another dictionary that can contain the | `blocked_install_message` | This maps to a string specifying the error message to display to users if they're blocked from installing an extension. This setting allows you to append text to the generic error message displayed when the extension is blocked. This could be be used to direct users to your help desk, explain why a particular extension is blocked, or something else. This setting can be used only for the default configuration. | `restricted_domains` | An array of domains on which content scripts can't be run. This setting can be used only for the default configuration. -**Compatibility:** Firefox 69, Firefox ESR 68.1\ +**Compatibility:** Firefox 69, Firefox ESR 68.1 (As of Firefox 85, Firefox ESR 78.7, installing a theme makes it the default.)\ **CCK2 Equivalent:** N/A\ **Preferences Affected:** N/A #### Windows (GPO) -``` Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) = +``` { "*": { "blocked_install_message": "Custom error message.", @@ -2510,8 +2520,8 @@ Within each handler type, you specify the given mimeType/extension/scheme as a k **Preferences Affected:** N/A #### Windows (GPO) -``` Software\Policies\Mozilla\Firefox\Handlers (REG_MULTI_SZ) = +``` { "mimeTypes": { "application/msword": { @@ -2783,7 +2793,7 @@ Configure the default homepage and how Firefox starts. `StartPage` is how Firefox starts. The choices are no homepage, the default homepage or the previous session. -With Firefox 78, an additional option as added for `Startpage`, `homepage-locked`. This allows for locking the homepage, but still allowing the user to choose whether or not they want to restore their session. +With Firefox 78, an additional option as added for `Startpage`, `homepage-locked`. If this is value is set for the Startpage, the user will always get the homepage at startup and cannot choose to restore their session. **Compatibility:** Firefox 60, Firefox ESR 60 (StartPage was added in Firefox 60, Firefox ESR 60.4, homepage-locked added in Firefox 78)\ **CCK2 Equivalent:** `homePage`,`lockHomePage`\ @@ -2991,6 +3001,165 @@ Value (string): } } ``` +### ManagedBookmarks +Configures a list of bookmarks managed by an administrator that cannot be changed by the user. + +The bookmarks are only added as a button on the personal toolbar. They are not in the bookmarks folder. + +The syntax of this policy is exactly the same as the [Chrome ManagedBookmarks policy](https://cloud.google.com/docs/chrome-enterprise/policies/?policy=ManagedBookmarks). The schema is: +``` +{ + "items": { + "id": "BookmarkType", + "properties": { + "children": { + "items": { + "$ref": "BookmarkType" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "toplevel_name": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" +} +``` +**Compatibility:** Firefox 83, Firefox ESR 78.5\ +**CCK2 Equivalent:** N/A\ +**Preferences Affected:** N/A + +#### Windows (GPO) +Software\Policies\Mozilla\Firefox\ManagedBookmarks (REG_MULTI_SZ) = +``` +[ + { + "toplevel_name": "My managed bookmarks folder" + }, + { + "url": "example.com", + "name": "Example" + }, + { + "name": "Mozilla links", + "children": [ + { + "url": "https://mozilla.org", + "name": "Mozilla.org" + }, + { + "url": "https://support.mozilla.org/", + "name": "SUMO" + } + ] + } +] +``` +#### Windows (Intune) +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/ManagedBookmarks +``` +Value (string): +``` + + +``` +#### macOS +``` + + ManagedBookmarks + + + toplevel_name + My managed bookmarks folder + + url + example.com + name + Example + + + name + Mozilla links + children + + + url + https://mozilla.org + name + Mozilla + + + url + https://support.mozilla.org/ + name + SUMO + + + + + +``` +#### policies.json +``` +{ + "policies": { + "ManagedBookmarks": [ + { + "toplevel_name": "My managed bookmarks folder" + }, + { + "url": "example.com", + "name": "Example" + }, + { + "name": "Mozilla links", + "children": [ + { + "url": "https://mozilla.org", + "name": "Mozilla.org" + }, + { + "url": "https://support.mozilla.org/", + "name": "SUMO" + } + ] + } + ] + } +} +``` ### PrimaryPassword Require or prevent using a primary (formerly master) password. @@ -3208,6 +3377,8 @@ Value (string): ### OverrideFirstRunPage Override the first run page. If the value is an empty string (""), the first run page is not displayed. +Starting with Firefox 83, Firefox ESR 78.5, you can also specify multiple URLS separated by a vertical bar (|). + **Compatibility:** Firefox 60, Firefox ESR 60\ **CCK2 Equivalent:** `welcomePage`,`noWelcomePage`\ **Preferences Affected:** `startup.homepage_welcome_url` @@ -3641,7 +3812,7 @@ Value (string): ``` ### PictureInPicture -Enable or disable Picture-in-Picture. +Enable or disable Picture-in-Picture as well as prevent the user from enabling or disabling it (Locked). **Compatibility:** Firefox 78, Firefox ESR 78\ **CCK2 Equivalent:** N/A\ @@ -3649,12 +3820,15 @@ Enable or disable Picture-in-Picture. #### Windows (GPO) ``` -Software\Policies\Mozilla\Firefox\PictureInPicture = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\PictureInPicture\Enabled = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\PictureInPicture\Locked = 0x1 | 0x0 + ``` #### Windows (Intune) OMA-URI: ``` -./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/PictureInPicture +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~PictureInPicture/PictureInPicture_Enabled +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~PictureInPicture/PictureInPicture_Locked ``` Value (string): ``` @@ -3664,14 +3838,22 @@ Value (string): ``` PictureInPicture - | + + Enabled + | + Locked + | + ``` #### policies.json ``` { "policies": { - "PictureInPicture": true | false + "PictureInPicture": { + "Enabled": true | false, + "Locked": true, false + } } } ``` @@ -3765,13 +3947,18 @@ browser. datareporting.policy. dom. extensions. +general.autoScroll (Firefox 83, Firefox ESR 78.5) +general.smoothScroll (Firefox 83, Firefox ESR 78.5) geo. intl. layout. media. network. +pdfjs. (Firefox 84, Firefox ESR 78.6) places. print. +signon. (Firefox 83, Firefox ESR 78.5) +spellchecker. (Firefox 84, Firefox ESR 78.6) ui. widget. ``` @@ -3820,8 +4007,8 @@ Status **Preferences Affected:** Many #### Windows (GPO) -``` Software\Policies\Mozilla\Firefox\Preferences (REG_MULTI_SZ) = +``` { "accessibility.force_disabled": { "Value": 1, @@ -3845,7 +4032,7 @@ OMA-URI: Value (string): ``` - or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/B_SanitizeOnShutdown_Cookies +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/C_SanitizeOnShutdown_Downloads +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/D_SanitizeOnShutdown_FormData +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/E_SanitizeOnShutdown_History +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/F_SanitizeOnShutdown_Sessions +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/G_SanitizeOnShutdown_SiteSettings +``` +Value (string): +``` + or +``` +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/H_SanitizeOnShutdown_OfflineApps +``` +Value (string): +``` + or +``` +OMA-URI: +``` ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~SanitizeOnShutdown/I_SanitizeOnShutdown_Locked ``` Value (string):