X-Git-Url: https://git.p6c8.net/policy-templates.git/blobdiff_plain/8187de0c0fb376fb91823f7038ff4f8cbb0785e6..7735876c7c4e12e7f98215a834469ea7d0c850f4:/docs/index.md?ds=sidebyside diff --git a/docs/index.md b/docs/index.md index 752f74f..37daa3d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -107,6 +107,7 @@ Note: The `policies.json` must use the UTF-8 encoding. | **[`Preferences`](#preferences)** | Set and lock preferences. | **[`PrimaryPassword`](#primarypassword)** | Require or prevent using a primary (formerly master) password. | **[`PrintingEnabled`](#printingenabled)** | Enable or disable printing. +| **[`PrivateBrowsingModeAvailability`](#privatebrowsingmodeavailability)** | Set availability of private browsing mode. | **[`PromptForDownloadLocation`](#promptfordownloadlocation)** | Ask where to save each file before downloading. | **[`Proxy`](#proxy)** | Configure proxy settings. | **[`RequestedLocales`](#requestedlocales)** | Set the the list of requested locales for the application in order of preference. @@ -1270,7 +1271,7 @@ Configure Firefox to use an agent for Data Loss Prevention (DLP) that is compati `ShowBlockedResult` indicates whether Firefox should show a notification when a DLP request is denied. The default is true. -**Compatibility:** Firefox 130\ +**Compatibility:** Firefox 132\ **CCK2 Equivalent:** N/A\ **Preferences Affected:** `browser.contentanalysis.agent_name`, `browser.contentanalysis.agent_timeout`, `browser.contentanalysis.allow_url_regex_list`, `browser.contentanalysis.bypass_for_same_tab_operations`, `browser.contentanalysis.client_signature`, `browser.contentanalysis.default_result`, `browser.contentanalysis.deny_url_regex_list`, `browser.contentanalysis.enabled`, `browser.contentanalysis.is_per_user`, `browser.contentanalysis.pipe_path_name`, `browser.contentanalysis.show_blocked_result` @@ -2154,6 +2155,8 @@ Value (string): ### DisablePrivateBrowsing Remove access to private browsing. +This policy is superseded by [`PrivateBrowsingModeAvailability`](#privatebrowsingmodeavailability) + **Compatibility:** Firefox 60, Firefox ESR 60\ **CCK2 Equivalent:** `disablePrivateBrowsing`\ **Preferences Affected:** N/A @@ -3087,6 +3090,7 @@ Manage all aspects of extensions. This policy is based heavily on the [Chrome po This policy maps an extension ID to its configuration. With an extension ID, the configuration will be applied to the specified extension only. A default configuration can be set for the special ID "*", which will apply to all extensions that don't have a custom configuration set in this policy. To obtain an extension ID, install the extension and go to about:support. You will see the ID in the Extensions section. I've also created an extension that makes it easy to find the ID of extensions on AMO. You can download it [here](https://github.com/mkaply/queryamoid/releases/tag/v0.1). +Or you can ask the Mozilla Addons API, see [docs](https://mozilla.github.io/addons-server/topics/api/addons.html#detail), which returns the ID as `guid`: https://addons.mozilla.org/api/v5/addons/addon/ublock-origin/ The configuration for each extension is another dictionary that can contain the fields documented below. @@ -3097,7 +3101,7 @@ The configuration for each extension is another dictionary that can contain the |         `blocked`| Blocks installation of the extension and removes it from the device if already installed. |         `force_installed`| The extension is automatically installed and can't be removed by the user. This option is not valid for the default configuration and requires an install_url. |         `normal_installed`| The extension is automatically installed but can be disabled by the user. This option is not valid for the default configuration and requires an install_url. -| `install_url`| Maps to a URL indicating where Firefox can download a force_installed or normal_installed extension. If installing from the local file system, use a [```file:///``` URL](https://en.wikipedia.org/wiki/File_URI_scheme). If installing from the addons.mozilla.org, use the following URL (substituting SHORT_NAME from the URL on AMO), https://addons.mozilla.org/firefox/downloads/latest/SHORT_NAME/latest.xpi. Languages packs are available from https://releases.mozilla.org/pub/firefox/releases/VERSION/PLATFORM/xpi/LANGUAGE.xpi. If you need to update the extension, you can change the name of the extension and it will be automatically updated. Extensions installed from file URLs will additional be updated when their internal version changes. +| `install_url`| Maps to a URL indicating where Firefox can download a force_installed or normal_installed extension. If installing from the local file system, use a [```file:///``` URL](https://en.wikipedia.org/wiki/File_URI_scheme). If installing from the addons.mozilla.org, use the following URL (substituting ID with the extension ID or with the short name from the URL on AMO), https://addons.mozilla.org/firefox/downloads/latest/ID/latest.xpi. Languages packs are available from https://releases.mozilla.org/pub/firefox/releases/VERSION/PLATFORM/xpi/LANGUAGE.xpi. If you need to update the extension, you can change the name of the extension and it will be automatically updated. Extensions installed from file URLs will additional be updated when their internal version changes. | `install_sources` | A list of sources from which installing extensions is allowed using URL match patterns. **This is unnecessary if you are only allowing the installation of certain extensions by ID.** Each item in this list is an extension-style match pattern. Users will be able to easily install items from any URL that matches an item in this list. Both the location of the *.xpi file and the page where the download is started from (i.e. the referrer) must be allowed by these patterns. This setting can be used only for the default configuration. | `allowed_types` | This setting whitelists the allowed types of extension/apps that can be installed in Firefox. The value is a list of strings, each of which should be one of the following: "extension", "theme", "dictionary", "locale" This setting can be used only for the default configuration. | `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. @@ -3122,7 +3126,11 @@ Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) = }, "uBlock0@raymondhill.net": { "installation_mode": "force_installed", - "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" # using slug / short name + }, + "adguardadblocker@adguard.com": { + "installation_mode": "force_installed", + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/adguardadblocker@adguard.com/latest.xpi" # using extension ID }, "https-everywhere@eff.org": { "installation_mode": "allowed", @@ -3150,6 +3158,11 @@ Value (string): "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" }, + "adguardadblocker@adguard.com": { + "installation_mode": "force_installed", + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/adguardadblocker@adguard.com/latest.xpi" + }, + { "https-everywhere@eff.org": { "installation_mode": "allowed", "updates_disabled": false @@ -3195,6 +3208,13 @@ Value (string): install_url https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi + adguardadblocker@adguard.com + + installation_mode + force_installed + install_url + https://addons.mozilla.org/firefox/downloads/latest/adguardadblocker@adguard.com/latest.xpi + https-everywhere@eff.org installation_mode @@ -3220,6 +3240,10 @@ Value (string): "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" }, + "adguardadblocker@adguard.com": { + "installation_mode": "force_installed", + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/adguardadblocker@adguard.com/latest.xpi" + }, "https-everywhere@eff.org": { "installation_mode": "allowed", "updates_disabled": false @@ -3796,7 +3820,7 @@ Software\Policies\Mozilla\Firefox\HttpAllowlist\2 = "http://example.edu" #### Windows (Intune) OMA-URI: ``` -./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/HttpAllowlist +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/HttpAllowlist ``` Value (string): ``` @@ -5485,6 +5509,48 @@ Value (string): } } ``` +### PrivateBrowsingModeAvailability +Set availability of private browsing mode. + +Possible values are `0` (Private Browsing mode is available), `1` (Private Browsing mode not available), and `2`(Private Browsing mode is forced). + +This policy supersedes [`DisablePrivateBrowsing`](#disableprivatebrowsing) + +Note: This policy missed Firefox ESR 128.2, but it will be in Firefox ESR 128.3. + +**Compatibility:** Firefox 130, Firefox ESR 128.3\ +**CCK2 Equivalent:** N/A\ +**Preferences Affected:** N/A + +#### Windows (GPO) +``` +Software\Policies\Mozilla\Firefox\PrivateBrowsingModeAvailability = 0x0 | 0x1 | 0x2 +``` +#### Windows (Intune) +OMA-URI: +``` +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/PrivateBrowsingModeAvailability +``` +Value (string): +``` + + +``` +#### macOS +``` + + PrivateBrowsingModeAvailability + 0 | 1 | 2 + +``` +#### policies.json +``` +{ + "policies": { + "PrivateBrowsingModeAvailability": 0 | 1 | 2 + } +} +``` ### PromptForDownloadLocation Ask where to save each file before downloading. @@ -5815,7 +5881,7 @@ Note: Starting with Firefox 128, History clears FormData and Downloads as well. `SiteSettings` Site Preferences -`OfflineApps` Offline Website Data. +`OfflineApps` Offline Website Data (*Deprecated - part of Cookies*) `Locked` prevents the user from changing these preferences. @@ -5827,12 +5893,9 @@ Note: Starting with Firefox 128, History clears FormData and Downloads as well. ``` Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Cache = 0x1 | 0x0 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Cookies = 0x1 | 0x0 -Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Downloads = 0x1 | 0x0 -Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\FormData = 0x1 | 0x0 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\History = 0x1 | 0x0 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Sessions = 0x1 | 0x0 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\SiteSettings = 0x1 | 0x0 -Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\OfflineApps = 0x1 | 0x0 Software\Policies\Mozilla\Firefox\SanitizeOnShutdown\Locked = 0x1 | 0x0 ``` #### Windows (Intune) @@ -5854,22 +5917,6 @@ Value (string): ``` 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): @@ -5894,14 +5941,6 @@ Value (string): ``` 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): @@ -5917,18 +5956,12 @@ Value (string): | Cookies | - Downloads - | - FormData - | History | Sessions | SiteSettings | - OfflineApps - | Locked | @@ -5941,12 +5974,9 @@ Value (string): "SanitizeOnShutdown": { "Cache": true | false, "Cookies": true | false, - "Downloads": true | false, - "FormData": true | false, "History": true | false, "Sessions": true | false, "SiteSettings": true | false, - "OfflineApps": true | false, "Locked": true | false } } @@ -6653,11 +6683,13 @@ Prevent Firefox from messaging the user in certain situations. `MoreFromMozilla` If false, don't show the "More from Mozilla" section in Preferences. (Firefox 98) +`FirefoxLabs` If false, don't show the "Firefox Labs" section in Preferences. (Firefox 130.0.1) + `Locked` prevents the user from changing user messaging preferences. **Compatibility:** Firefox 75, Firefox ESR 68.7\ **CCK2 Equivalent:** N/A\ -**Preferences Affected:** `browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons`, `browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features`, `browser.aboutwelcome.enabled`, `browser.preferences.moreFromMozilla` +**Preferences Affected:** `browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons`, `browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features`, `browser.aboutwelcome.enabled`, `browser.preferences.moreFromMozilla`, `browser.preferences.experimental` #### Windows (GPO) ``` @@ -6666,6 +6698,7 @@ Software\Policies\Mozilla\Firefox\UserMessaging\FeatureRecommendations = 0x1 | 0 Software\Policies\Mozilla\Firefox\UserMessaging\UrlbarInterventions = 0x1 | 0x0 Software\Policies\Mozilla\Firefox\UserMessaging\SkipOnboarding = 0x1 | 0x0 Software\Policies\Mozilla\Firefox\UserMessaging\MoreFromMozilla = 0x1 | 0x0 +Software\Policies\Mozilla\Firefox\UserMessaging\FirefoxLabs = 0x1 | 0x0 Software\Policies\Mozilla\Firefox\UserMessaging\Locked = 0x1 | 0x0 ``` #### Windows (Intune) @@ -6676,6 +6709,7 @@ OMA-URI: ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~UserMessaging/UserMessaging_UrlbarInterventions ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~UserMessaging/UserMessaging_SkipOnboarding ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~UserMessaging/UserMessaging_MoreFromMozilla +./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~UserMessaging/UserMessaging_FirefoxLabs ./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~UserMessaging/UserMessaging_Locked ``` Value (string): @@ -6697,6 +6731,8 @@ Value (string): | MoreFromMozilla | + FirefoxLabs + | Locked | @@ -6712,6 +6748,7 @@ Value (string): "UrlbarInterventions": true | false, "SkipOnboarding": true | false, "MoreFromMozilla": true | false, + "FirefoxLabs": true | false, "Locked": true | false } }