]> git.p6c8.net - policy-templates.git/commitdiff
Merge pull request #933 from mozilla/StartDownloadsInTempDirectory v4.01
authorMichael Kaply <345868+mkaply@users.noreply.github.com>
Mon, 11 Jul 2022 15:54:37 +0000 (11:54 -0400)
committerGitHub <noreply@github.com>
Mon, 11 Jul 2022 15:54:37 +0000 (11:54 -0400)
Start downloads in temp directory

README.md
mac/org.mozilla.firefox.plist
windows/de-DE/firefox.adml
windows/en-US/firefox.adml
windows/es-ES/firefox.adml
windows/firefox.admx
windows/fr-FR/firefox.adml
windows/it-IT/firefox.adml
windows/ru-RU/firefox.adml
windows/zh-CN/firefox.adml
windows/zh-TW/firefox.adml

index ec33ac38d0e07ef8611b5d102ca2262a880f366c..37047ed759f1d26f87d8138b23ecf0478c160e24 100644 (file)
--- a/README.md
+++ b/README.md
@@ -103,6 +103,7 @@ Policies can be specified using the [Group Policy templates on Windows](https://
 | **[`ShowHomeButton`](#showhomebutton)** | Show the home button on the toolbar.
 | **[`SSLVersionMax`](#sslversionmax)** | Set and lock the maximum version of TLS.
 | **[`SSLVersionMin`](#sslversionmin)** | Set and lock the minimum version of TLS.
+| **[`StartDownloadsInTempDirectory`](#startdownloadsintempdirectory)** | Force downloads to start off in a local, temporary location rather than the default download directory.
 | **[`SupportMenu`](#supportmenu)** | Add a menuitem to the help menu for specifying support information.
 | **[`UserMessaging`](#usermessaging)** | Don't show certain messages to the user.
 | **[`UseSystemPrintDialog`](#usesystemprintdialog)** | Print using the system print dialog instead of print preview.
@@ -5666,6 +5667,40 @@ Value (string):
   }
 }
 ```
+### StartDownloadsInTempDirectory
+Force downloads to start off in a local, temporary location rather than the default download directory.
+
+**Compatibility:** Firefox 102\
+**CCK2 Equivalent:** N/A\
+**Preferences Affected:** `browser.downloads.start_downloads_in_tmp_dir`
+
+#### Windows (GPO)
+```
+Software\Policies\Mozilla\Firefox\StartDownloadsInTempDirectory = 0x1 | 0x0
+```
+#### Windows (Intune)
+OMA-URI:
+```
+./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/StartDownloadsInTempDirectory
+```
+Value (string):
+```
+<enabled/> or <disabled/>
+```
+#### macOS
+```
+<dict>
+  <key>StartDownloadsInTempDirectory</key>
+  <true/> | <false/>
+</dict>
+```
+#### policies.json
+```
+{
+  "policies": {
+    "StartDownloadsInTempDirectory": true | false
+}
+```
 ### UserMessaging
 
 Prevent Firefox from messaging the user in certain situations.
index 2b088178e2057e196a51daf378382f7203f3962a..4bb68845ec72552a1337a325e4f737ec6dbbc9db 100644 (file)
        <string>tls1.2</string>
        <key>SSLVersionMax</key>
        <string>tls1.3</string>
+       <string>StartDownloadsInTempDirectory</string>
+       <true/>
        <key>SupportMenu</key>
        <dict>
                <key>Title</key>
index 43d3028e46f0146b4f877da16b2da325e3c70860..167e6cdc88034226129504b126cc313a1b2487c0 100644 (file)
@@ -930,6 +930,10 @@ Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, zeigt
 Wenn diese Richtlinieneinstellung deaktiviert oder nicht konfiguriert ist, werden Warnungen für alle ausführbaren Dateitypen angezeigt.
 
 Ausführliche Informationen zur Erstellung der Richtlinie finden Sie unter https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
+      <string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
+      <string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
       <string id="Preferences_Boolean_Explain">Wenn diese Richtlinieneinstellung aktiviert ist, ist die Einstellung auf true gesperrt. Wenn diese Richtlinieneinstellung deaktiviert ist, ist die Einstellung auf false gesperrt.
 
 Für eine Beschreibung der Einstellung, siehe:
index 4946942c5afd623121fb53987223bc417900eba9..e6bfc13b6e5c97c31aecf8831b52fb65db1d986d 100644 (file)
@@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
 If this policy is disabled or not configured, warnings are shown for all executable file types.
 
 For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
+      <string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
+      <string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
       <string id="Preferences_Boolean_Explain">If this policy is enabled, the preference is locked to true. If this policy is disabled, the preference is locked to false.
 
 For a description of the preference, see:
index e3ed46750ed519899974238a9d6b36c9826fc7c2..84e30e46fa00d950e6b1c52aad555d792b8da30e 100644 (file)
@@ -927,6 +927,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
 If this policy is disabled or not configured, warnings are shown for all executable file types.
 
 For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
+      <string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
+      <string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
       <string id="Preferences_Boolean_Explain">Si esta política está habilitada, la preferencia se bloquea en true. Si esta política está deshabilitada, la preferencia está bloqueada en false.
 
 Para una descripción de la preferencia, visita:
index 379c99b35abc0af584366e717e1a277d54b1a393..26ddc2539ed6f17f3979571173d2094802f6d1ac 100644 (file)
         <multiText id="JSON" valueName="ExemptDomainFileTypePairsFromFileTypeDownloadWarnings"  maxLength="16384"/>
       </elements>
     </policy>
+    <policy name="StartDownloadsInTempDirectory" class="Both" displayName="$(string.StartDownloadsInTempDirectory)" explainText="$(string.StartDownloadsInTempDirectory_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="StartDownloadsInTempDirectory">
+      <parentCategory ref="firefox"/>
+      <supportedOn ref="SUPPORTED_FF102"/>
+      <enabledValue>
+        <decimal value="1"/>
+      </enabledValue>
+      <disabledValue>
+        <decimal value="0"/>
+      </disabledValue>
+    </policy>
   </policies>
 </policyDefinitions>
index 30c14fe248faaf5e790fb6f25510e7e776bc6c7b..3418312c2d0e949d9c9f335795b130838cab39b6 100644 (file)
@@ -924,8 +924,12 @@ If this policy is disabled or not configured, Firefox will show print preview be
       <string id="ExemptDomainFileTypePairsFromFileTypeDownloadWarnings_Explain">If this policy is enabled, you can define a list of domains and file type extensions that will be exempt from executable warnings.\r
 \r
 If this policy is disabled or not configured, warnings are shown for all executable file types.\r
-\r
+      \r
 For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>\r
+      <string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>\r
+      <string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.\r
+\r
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>\r
       <string id="Preferences_Boolean_Explain">Si cette stratégie est activée, la préférence est verrouillée sur true. Si cette stratégie est désactivée, la préférence est verrouillée sur false.\r
 \r
 Pour une description de la préférence, voir:\r
index a5fa405c5d7a29d255a17689b5655e1a3ccc308c..fe0c746bc0c009a2b1b0eaab48bf82c460b33afa 100644 (file)
@@ -928,6 +928,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
 If this policy is disabled or not configured, warnings are shown for all executable file types.
 
 For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
+      <string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
+      <string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
       <string id="Preferences_Boolean_Explain">Se questo criterio è abilitato, la preferenza è impostata a Vero e resa non modificabile. Se questo criterio è disabilitato, la preferenza è impostata a Falso e resa non modificabile.
 
 Per una descrizione della preferenza, si veda:
index a0232763c43eed5364bda264f491f1fc8511b56b..1c568930e4cc0b56e9c9e1d796b0e5b6670c3f0c 100644 (file)
@@ -927,6 +927,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
 If this policy is disabled or not configured, warnings are shown for all executable file types.
 
 For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
+      <string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
+      <string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
       <string id="Preferences_Boolean_Explain"> Если эта политика включена, предпочтение заблокировано на true. Если эта политика отключена, предпочтение заблокировано на false.
 
 Описание предпочтения см .:
index 6218a8d18d7b2912f4ac685bb7c94359f1b0e369..7382b4d05eff92d2b77faca92a07a1575a651259 100644 (file)
@@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
 If this policy is disabled or not configured, warnings are shown for all executable file types.
 
 For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
+   <string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
+   <string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
    <string id="Preferences_Boolean_Explain">若启用此原则,偏好设定将锁定为 true。 若禁用此原则,偏好设定则锁定为false。
 
 若需要偏好设置的详细说明,请参考:
index 44e53b2b5f6932f32c06e7200e62d4bad2678df3..83352931b7991177409f56da4d38a7f2f260593e 100644 (file)
@@ -925,6 +925,10 @@ If this policy is disabled or not configured, Firefox will show print preview be
 If this policy is disabled or not configured, warnings are shown for all executable file types.
 
 For detailed information on creating the policy, see https://github.com/mozilla/policy-templates/blob/master/README.md#exemptdomainfiletypepairsfromfiletypedownloadwarnings.</string>
+      <string id="StartDownloadsInTempDirectory">Start Downloads in Temporary Directory</string>
+      <string id="StartDownloadsInTempDirectory_Explain">If this policy is enabled, Firefox will start downloads in a temporary directory and automatically deleted when you close the browser.
+
+If this policy is disabled or not configured, Firefox will to the download folder and will not be automatically deleted when you close the browser.</string>
       <string id="Preferences_Boolean_Explain">若啟用此原則,偏好設定將鎖定為 true。若停用此原則,偏好設定則鎖定為 false。
 
 若需要偏好設定的詳細說明,請參考:

patrick-canterino.de