From cda9c267fccc61741d531352cb912498e2a64d58 Mon Sep 17 00:00:00 2001 From: Michael Kaply <345868+mkaply@users.noreply.github.com> Date: Mon, 8 Jul 2019 18:57:39 -0500 Subject: [PATCH 1/1] Download policies --- README.md | 89 ++++++++++++++++++++++++++++++++++++-- windows/de-DE/firefox.adml | 14 ++++++ windows/en-US/firefox.adml | 14 ++++++ windows/es-ES/firefox.adml | 14 ++++++ windows/firefox.admx | 26 ++++++++++- windows/fr-FR/firefox.adml | 14 ++++++ windows/it-IT/firefox.adml | 14 ++++++ 7 files changed, 181 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e97c9e4..02300dc 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,11 @@ Policies can be specified using the Group Policy templates on Windows (https://g | **[`DisableSystemAddonUpdate`](#disablesystemaddonupdate)** | Prevent system add-ons from being installed or update. | **[`DisableTelemetry`](#disabletelemetry)** | DisableTelemetry | **[`DisplayBookmarksToolbar`](#displaybookmarkstoolbar)** | Set the initial state of the bookmarks toolbar. -| **[`DisplayMenuBar`](#displaymenubar)** | Set the initial state of the menubar +| **[`DisplayMenuBar`](#displaymenubar)** | Set the initial state of the menubar. | **[`DNSOverHTTPS`](#dnsoverhttps)** | Configure DNS over HTTPS. | **[`DontCheckDefaultBrowser`](#dontcheckdefaultbrowser)** | Don't check if Firefox is the default browser at startup. +| **[`DefaultDownloadDirectory`](#defaultdownloaddirectory)** | Set the default download directory. +| **[`DownloadDirectory`](#downloaddirectory)** | Set and lock the download directory. | **[`EnableTrackingProtection`](#enabletrackingprotection)** | Configure tracking protection. | **[`Extensions`](#extensions)** | Control the installation, uninstallation and locking of extensions. | **[`ExtensionUpdate`](#extensionupdate)** | Control extension updates. @@ -56,6 +58,7 @@ Policies can be specified using the Group Policy templates on Windows (https://g | **[`Permissions`](#permissions)** | Set permissions associated with camera, microphone, location, and notifications. | **[`PopupBlocking`](#popupblocking)** | Configure the default pop-up window policy as well as origins for which pop-up windows are allowed. | **[`Preferences`](#preferences)** | Set and lock some preferences. +| **[`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. | **[`SanitizeOnShutdown` (All)](#sanitizeonshutdown-all)** | Clear all data on shutdown. @@ -1154,6 +1157,60 @@ Software\Policies\Mozilla\Firefox\DontCheckDefaultBrowser = 0x1 | 0x0 } } ``` +### DefaultDownloadDirectory +Set the default download directory. + +You can use ${home} for the native home directory. + +**Compatibility:** Firefox 68, Firefox ESR 68\ +**CCK2 Equivalent:** N/A\ +**Preferences Affected:** `browser.download.dir`,`browser.download.folderList` + +#### Windows +``` +Software\Policies\Mozilla\Firefox\DefaultDownloadDirectory = "${home}\Downloads" +``` +#### macOS +``` + + DefaultDownloadDirectory + ${home}/Downloads + +``` +#### JSON +``` +{ + "policies": { + "DefaultDownloadDirectory": "${home}/Downloads" +} +``` +### DownloadDirectory +Set and lock the download directory. + +You can use ${home} for the native home directory. + +**Compatibility:** Firefox 68, Firefox ESR 68\ +**CCK2 Equivalent:** N/A\ +**Preferences Affected:** `browser.download.dir`,`browser.download.folderList`,`browser.download.useDownloadDir` + +#### Windows +``` +Software\Policies\Mozilla\Firefox\DownloadDirectory = "${home}\Downloads" +``` +#### macOS +``` + + DownloadDirectory + ${home}/Downloads + +``` +#### JSON +``` +{ + "policies": { + "DownloadDirectory": "${home}/Downloads" +} +``` ### EnableTrackingProtection Configure tracking protection. @@ -1614,7 +1671,7 @@ Software\Policies\Mozilla\Firefox\OverrideFirstRunPage = "http://example.org" ``` { "policies": { - "OverrideFirstRunPage": ""http://example.org"" + "OverrideFirstRunPage": "http://example.org" } ``` ### OverridePostUpdatePage @@ -1639,7 +1696,7 @@ Software\Policies\Mozilla\Firefox\OverridePostUpdatePage = "http://example.org" ``` { "policies": { - "OverridePostUpdatePage": ""http://example.org"" + "OverridePostUpdatePage": "http://example.org" } ``` ### Permissions @@ -1888,6 +1945,32 @@ Software\Policies\Mozilla\Firefox\Preferences\string_preference_name = "string_v } } ``` +### PromptForDownloadLocation +Ask where to save each file before downloading. + +**Compatibility:** Firefox 68, Firefox ESR 68\ +**CCK2 Equivalent:** N/A +**Preferences Affected:** `browser.download.useDownloadDir` + +#### Windows +``` +Software\Policies\Mozilla\Firefox\PromptForDownloadLocation = 0x1 | 0x0 +``` +#### macOS +``` + + PromptForDownloadLocation + | + +``` +#### JSON +``` +{ + "policies": { + "PromptForDownloadLocation": true | false + } +} +``` ### Proxy Configure proxy settings. These settings correspond to the connection settings in Firefox preferences. To specify ports, append them to the hostnames with a colon (:). diff --git a/windows/de-DE/firefox.adml b/windows/de-DE/firefox.adml index 9fb1608..9f77703 100644 --- a/windows/de-DE/firefox.adml +++ b/windows/de-DE/firefox.adml @@ -89,6 +89,14 @@ Wenn Sie die Richtlinieneinstellung deaktivieren oder nicht konfigurieren, verwe If this policy is enabled, Firefox will install the listed certificates into Firefox. It will look in %USERPROFILE%\AppData\Local\Mozilla\Certificates and %USERPROFILE%\AppData\Roaming\Mozilla\Certificates. If this policy is disabled or not configured, Firefox will not install additional certificates. + Default Download Directory + If this policy is enabled, you can set the default directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used. + Download Directory + If this policy is enabled, you can set and lock the directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used and the user cna change it. Configure DNS Over HTTPS If this policy is enabled, the default configuration for DNS over HTTPS can be changed. @@ -438,6 +446,12 @@ If this policy is disabled or not configured, the start page defaults to the pre None Homepage Previous Session + Prompt for download location + If this policy is disabled, the user is not prompted for a download location. + +If this policy is enabled, the user is always prompted for a download location. + +If this policy is not configured, the user is prompted for a download location, but can change the default. Proxy Einstellungen Wenn Sie die Richtlinieneinstellung aktivieren, können Sie die Netzwerkeinstellungen ändern und sperren. diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml index 4b90be6..01ebeae 100644 --- a/windows/en-US/firefox.adml +++ b/windows/en-US/firefox.adml @@ -90,6 +90,14 @@ If this policy is disabled or not configured, Firefox will not read certificates If this policy is enabled, Firefox will install the listed certificates into Firefox. It will look in %USERPROFILE%\AppData\Local\Mozilla\Certificates and %USERPROFILE%\AppData\Roaming\Mozilla\Certificates. If this policy is disabled or not configured, Firefox will not install additional certificates. + Default Download Directory + If this policy is enabled, you can set the default directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used. + Download Directory + If this policy is enabled, you can set and lock the directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used and the user cna change it. Configure DNS Over HTTPS If this policy is enabled, the default configuration for DNS over HTTPS can be changed. @@ -439,6 +447,12 @@ If this policy is disabled or not configured, the start page defaults to the pre None Homepage Previous Session + Prompt for download location + If this policy is disabled, the user is not prompted for a download location. + +If this policy is enabled, the user is always prompted for a download location. + +If this policy is not configured, the user is prompted for a download location, but can change the default. Proxy Settings If this policy is enabled, you can configure and lock network settings. diff --git a/windows/es-ES/firefox.adml b/windows/es-ES/firefox.adml index 4df2ad7..9f00a4a 100644 --- a/windows/es-ES/firefox.adml +++ b/windows/es-ES/firefox.adml @@ -88,6 +88,14 @@ Si esta política está deshabilitada o no está configurada, Firefox no leerá Si esta política está habilitada, Firefox instalará los certificados listados en Firefox. Se verá en %USERPROFILE%\AppData\Local\Mozilla\Certificates y %USERPROFILE%\AppData\Roaming\Mozilla\Certificates. Si esta política está deshabilitada o no está configurada, Firefox no instalará certificados adicionales. + Default Download Directory + If this policy is enabled, you can set the default directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used. + Download Directory + If this policy is enabled, you can set and lock the directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used and the user cna change it. Configurar DNS mediante HTTPS Si esta política está habilitada, se puede cambiar la configuración predeterminada de DNS mediante HTTPS. @@ -437,6 +445,12 @@ Si esta política está deshabilitada o no está configurada, la página de inic Ninguno Página de inicio Sesión anterior + Prompt for download location + If this policy is disabled, the user is not prompted for a download location. + +If this policy is enabled, the user is always prompted for a download location. + +If this policy is not configured, the user is prompted for a download location, but can change the default. Configuración del proxy Si esta política está habilitada, puede configurar y bloquear la configuración de red. diff --git a/windows/firefox.admx b/windows/firefox.admx index 8253f9d..35b87ac 100644 --- a/windows/firefox.admx +++ b/windows/firefox.admx @@ -395,6 +395,20 @@ + + + + + + + + + + + + + + @@ -808,6 +822,16 @@ + + + + + + + + + + @@ -833,7 +857,7 @@ - + diff --git a/windows/fr-FR/firefox.adml b/windows/fr-FR/firefox.adml index 3dd138f..59e49fe 100644 --- a/windows/fr-FR/firefox.adml +++ b/windows/fr-FR/firefox.adml @@ -88,6 +88,14 @@ Si cette stratégie est désactivée ou non configurée, Firefox ne lira pas les Si cette stratégie est activée, Firefox installera les certificats répertoriés dans Firefox. Il recherchera dans %USERPROFILE%\AppData\Local\Mozilla\Certificates et %USERPROFILE%\AppData\Roaming\Mozilla\Certificates. Si cette stratégie est désactivée ou non configurée, Firefox n'installe pas de certificats supplémentaires. + Default Download Directory + If this policy is enabled, you can set the default directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used. + Download Directory + If this policy is enabled, you can set and lock the directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used and the user cna change it. Configurer DNS sur HTTPS Si cette stratégie est activée, la configuration par défaut de DNS sur HTTPS peut être modifiée. @@ -437,6 +445,12 @@ Si cette stratégie est désactivée ou non configurée, la page de démarrage a Page vierge Page d'accueil Session précédente + Prompt for download location + If this policy is disabled, the user is not prompted for a download location. + +If this policy is enabled, the user is always prompted for a download location. + +If this policy is not configured, the user is prompted for a download location, but can change the default. Paramètres du proxy Si cette stratégie est activée, vous pouvez configurer et verrouiller les paramètres réseau. diff --git a/windows/it-IT/firefox.adml b/windows/it-IT/firefox.adml index 7255404..54b7ca2 100644 --- a/windows/it-IT/firefox.adml +++ b/windows/it-IT/firefox.adml @@ -88,6 +88,14 @@ Se questo criterio è disabilitato o non configurato, Firefox non utilizzerà i Se questo criterio è abilitato, Firefox installerà i certificati elencati in Firefox. Questi saranno cercati in %USERPROFILE%\AppData\Local\Mozilla\Certificates e in %USERPROFILE%\AppData\Roaming\Mozilla\Certificates. Se questo criterio è disabilitato o non configurato, Firefox non installerà certificati aggiuntivi. + Default Download Directory + If this policy is enabled, you can set the default directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used. + Download Directory + If this policy is enabled, you can set and lock the directory for downloads. ${home} can be used for the native home path. + +If this policy is disabled or not configured, the default Firefox download directory is used and the user cna change it. Configura DNS su HTTPS Se questo criterio è abilitato, la configurazione predefinita per DNS su HTTPS può essere modificata. @@ -437,6 +445,12 @@ Se questo criterio è disabilitato o non configurato, per impostazione predefini Nessuna Pagina iniziale Sessione precedente + Prompt for download location + If this policy is disabled, the user is not prompted for a download location. + +If this policy is enabled, the user is always prompted for a download location. + +If this policy is not configured, the user is prompted for a download location, but can change the default. Impostazioni proxy Se questo criterio è abilitato, è possibile configurare e bloccare le impostazioni di rete. -- 2.34.1