]> git.p6c8.net - policy-templates.git/commitdiff
GPO template for permissions
authorMichael Kaply <consulting@kaply.com>
Thu, 1 Mar 2018 18:08:59 +0000 (12:08 -0600)
committerMichael Kaply <consulting@kaply.com>
Thu, 1 Mar 2018 18:08:59 +0000 (12:08 -0600)
windows/en-US/firefox.adml
windows/firefox.admx

index f388058873f352ae1103399ee54717a94764d4c7..547b96d074dc56c61ff4bb692a5ac9a3e0099640 100644 (file)
@@ -4,8 +4,16 @@
   <description/>
   <resources >
     <stringTable >
   <description/>
   <resources >
     <stringTable >
-      <string id="SUPPORTED_WINXPSP2" >Microsoft Windows XP SP2 or later</string>
-      <string id="BlockAboutAddons" >Block About Addons</string>
+      <string id="SUPPORTED_WINXPSP2">Microsoft Windows XP SP2 or later</string>
+      <string id="firefox">Firefox</string>
+      <string id="Permissions_group">Permissions</string>
+      <string id="Popups_group">Popups</string>
+      <string id="Cookies_group">Cookies</string>
+      <string id="Addons_group">Addons</string>
+      <string id="Flash_group">Flash</string>
+      <string id="Allow">Allow</string>
+      <string id="Block">Block</string>
+      <string id="BlockAboutAddons">Block About Addons</string>
       <string id="BlockAboutAddons_Explain" >Block access to the Add-ons Mananger (about:addons).</string>      
       <string id="BlockAboutConfig">Block About Config</string>
       <string id="BlockAboutConfig_Explain">Blocks access to the about:config page.</string>
       <string id="BlockAboutAddons_Explain" >Block access to the Add-ons Mananger (about:addons).</string>      
       <string id="BlockAboutConfig">Block About Config</string>
       <string id="BlockAboutConfig_Explain">Blocks access to the about:config page.</string>
       <string id="DontCheckDefaultBrowser_Explain">Don't check for the default browser on startup.</string>
       <string id="RememberPasswords">Rember Passwords</string>
       <string id="RememberPasswords_Explain">Enforces the setting to allow Firefox to remember saved logins and passwords. Both true and false values are accepted.</string>
       <string id="DontCheckDefaultBrowser_Explain">Don't check for the default browser on startup.</string>
       <string id="RememberPasswords">Rember Passwords</string>
       <string id="RememberPasswords_Explain">Enforces the setting to allow Firefox to remember saved logins and passwords. Both true and false values are accepted.</string>
+      <string id="PopupsAllow_Explain">URLs to allow popups.</string>
+      <string id="AddonsAllow_Explain">URLs to allow addons.</string>
+      <string id="CookiesAllow_Explain">URLs to allow cookies.</string>
+      <string id="CookiesBlock_Explain">URLs to block cookies.</string>
+      <string id="FlashAllow_Explain">URLs to allow Flash.</string>
+      <string id="FlashBlock_Explain">URLs to block Flash.</string>
     </stringTable>
     </stringTable>
+    <presentationTable>
+      <presentation id="PopupsAllow"><listBox refId="PopupsAllowDesc">Allow popups for websites</listBox></presentation>
+      <presentation id="AddonsAllow"><listBox refId="AddonsAllowDesc">Allow add-ons for websites</listBox></presentation>
+      <presentation id="CookiesAllow"><listBox refId="CookiesAllowDesc">Allow cookies for websites</listBox></presentation>
+      <presentation id="CookiesBlock"><listBox refId="CookiesBlockDesc">Block cookies for websites</listBox></presentation>
+      <presentation id="FlashAllow"><listBox refId="FlashAllowDesc">Allow Flash for websites</listBox></presentation>
+      <presentation id="FlashBlock"><listBox refId="FlashBlockDesc">Block Flash for websites</listBox></presentation>
+    </presentationTable>
   </resources>
 </policyDefinitionResources>
   </resources>
 </policyDefinitionResources>
index 8587f45fffe4f41124ef4579ac2cf95ca0429a12..628b7d73fb84210b35073f66b3e68fedc9c4f5eb 100644 (file)
       <definition name="SUPPORTED_WINXPSP2" displayName="$(string.SUPPORTED_WINXPSP2)" />
     </definitions>
   </supportedOn>
       <definition name="SUPPORTED_WINXPSP2" displayName="$(string.SUPPORTED_WINXPSP2)" />
     </definitions>
   </supportedOn>
+  <categories>
+    <category displayName="$(string.firefox)" name="firefox">
+      <parentCategory ref="Mozilla:Cat_Mozilla"/>
+    </category>
+
+    <category displayName="$(string.Permissions_group)" name="Permissions">
+      <parentCategory ref="firefox"/>
+    </category>
+    <category displayName="$(string.Popups_group)" name="Popups" >
+      <parentCategory ref="Permissions" />
+    </category>
+    <category displayName="$(string.Cookies_group)" name="Cookies" >
+      <parentCategory ref="Permissions" />
+    </category>
+    <category displayName="$(string.Addons_group)" name="Addons" >
+      <parentCategory ref="Permissions" />
+    </category>
+    <category displayName="$(string.Flash_group)" name="Flash" >
+      <parentCategory ref="Permissions" />
+    </category>
+  </categories>
   <policies >
     <policy name="BlockAboutAddons" class="Both" displayName="$(string.BlockAboutAddons)" explainText="$(string.BlockAboutAddons_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="BlockAboutAddons" >
   <policies >
     <policy name="BlockAboutAddons" class="Both" displayName="$(string.BlockAboutAddons)" explainText="$(string.BlockAboutAddons_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="BlockAboutAddons" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
@@ -22,7 +43,7 @@
       </disabledValue>
     </policy>
     <policy name="BlockAboutConfig" class="Both" displayName="$(string.BlockAboutConfig)" explainText="$(string.BlockAboutConfig_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="BlockAboutConfig" >
       </disabledValue>
     </policy>
     <policy name="BlockAboutConfig" class="Both" displayName="$(string.BlockAboutConfig)" explainText="$(string.BlockAboutConfig_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="BlockAboutConfig" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
@@ -32,7 +53,7 @@
       </disabledValue>
     </policy>
     <policy name="BlockAboutSupport" class="Both" displayName="$(string.BlockAboutSupport)" explainText="$(string.BlockAboutSupport_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="BlockAboutSupport" >
       </disabledValue>
     </policy>
     <policy name="BlockAboutSupport" class="Both" displayName="$(string.BlockAboutSupport)" explainText="$(string.BlockAboutSupport_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="BlockAboutSupport" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
@@ -42,7 +63,7 @@
       </disabledValue>
     </policy>
     <policy name="BlockSetDesktopBackground" class="Both" displayName="$(string.BlockSetDesktopBackground)" explainText="$(string.BlockSetDesktopBackground_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="BlockSetDesktopBackground" >
       </disabledValue>
     </policy>
     <policy name="BlockSetDesktopBackground" class="Both" displayName="$(string.BlockSetDesktopBackground)" explainText="$(string.BlockSetDesktopBackground_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="BlockSetDesktopBackground" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
@@ -52,7 +73,7 @@
       </disabledValue>
     </policy>
     <policy name="CreateMasterPassword" class="Both" displayName="$(string.CreateMasterPassword)" explainText="$(string.CreateMasterPassword_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="CreateMasterPassword" >
       </disabledValue>
     </policy>
     <policy name="CreateMasterPassword" class="Both" displayName="$(string.CreateMasterPassword)" explainText="$(string.CreateMasterPassword_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="CreateMasterPassword" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
@@ -62,7 +83,7 @@
       </disabledValue>
     </policy>
     <policy name="DisableAppUpdate" class="Both" displayName="$(string.DisableAppUpdate)" explainText="$(string.DisableAppUpdate_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableAppUpdate" >
       </disabledValue>
     </policy>
     <policy name="DisableAppUpdate" class="Both" displayName="$(string.DisableAppUpdate)" explainText="$(string.DisableAppUpdate_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableAppUpdate" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
@@ -72,7 +93,7 @@
       </disabledValue>
     </policy>
     <policy name="DisableDeveloperTools" class="Both" displayName="$(string.DisableDeveloperTools)" explainText="$(string.DisableDeveloperTools_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableDeveloperTools" >
       </disabledValue>
     </policy>
     <policy name="DisableDeveloperTools" class="Both" displayName="$(string.DisableDeveloperTools)" explainText="$(string.DisableDeveloperTools_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableDeveloperTools" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       </disabledValue>
     </policy>
     <policy name="DisableFirefoxScreenshots" class="Both" displayName="$(string.DisableFirefoxScreenshots)" explainText="$(string.DisableFirefoxScreenshots_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableFirefoxScreenshots" >
       </disabledValue>
     </policy>
     <policy name="DisableFirefoxScreenshots" class="Both" displayName="$(string.DisableFirefoxScreenshots)" explainText="$(string.DisableFirefoxScreenshots_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableFirefoxScreenshots" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       </disabledValue>
     </policy>
     <policy name="DisableFirefoxStudies" class="Both" displayName="$(string.DisableFirefoxStudies)" explainText="$(string.DisableFirefoxStudies_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableFirefoxStudies" >
       </disabledValue>
     </policy>
     <policy name="DisableFirefoxStudies" class="Both" displayName="$(string.DisableFirefoxStudies)" explainText="$(string.DisableFirefoxStudies_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableFirefoxStudies" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       </disabledValue>
     </policy>
     <policy name="DisableFormHistory" class="Both" displayName="$(string.DisableFormHistory)" explainText="$(string.DisableFormHistory_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableFormHistory" >
       </disabledValue>
     </policy>
     <policy name="DisableFormHistory" class="Both" displayName="$(string.DisableFormHistory)" explainText="$(string.DisableFormHistory_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisableFormHistory" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       </disabledValue>
     </policy>
     <policy name="DisablePocket" class="Both" displayName="$(string.DisablePocket)" explainText="$(string.DisablePocket_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisablePocket" >
       </disabledValue>
     </policy>
     <policy name="DisablePocket" class="Both" displayName="$(string.DisablePocket)" explainText="$(string.DisablePocket_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisablePocket" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       </disabledValue>
     </policy>
     <policy name="DisplayBookmarksToolbar" class="Both" displayName="$(string.DisplayBookmarksToolbar)" explainText="$(string.DisplayBookmarksToolbar_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisplayBookmarksToolbar" >
       </disabledValue>
     </policy>
     <policy name="DisplayBookmarksToolbar" class="Both" displayName="$(string.DisplayBookmarksToolbar)" explainText="$(string.DisplayBookmarksToolbar_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisplayBookmarksToolbar" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       </disabledValue>
     </policy>
     <policy name="DisplayMenuBar" class="Both" displayName="$(string.DisplayMenuBar)" explainText="$(string.DisplayMenuBar_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisplayMenuBar" >
       </disabledValue>
     </policy>
     <policy name="DisplayMenuBar" class="Both" displayName="$(string.DisplayMenuBar)" explainText="$(string.DisplayMenuBar_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DisplayMenuBar" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       </disabledValue>
     </policy>
     <policy name="DontCheckDefaultBrowser" class="Both" displayName="$(string.DontCheckDefaultBrowser)" explainText="$(string.DontCheckDefaultBrowser_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DontCheckDefaultBrowser" >
       </disabledValue>
     </policy>
     <policy name="DontCheckDefaultBrowser" class="Both" displayName="$(string.DontCheckDefaultBrowser)" explainText="$(string.DontCheckDefaultBrowser_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="DontCheckDefaultBrowser" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       </disabledValue>
     </policy>
     <policy name="RememberPasswords" class="Both" displayName="$(string.RememberPasswords)" explainText="$(string.RememberPasswords_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="RememberPasswords" >
       </disabledValue>
     </policy>
     <policy name="RememberPasswords" class="Both" displayName="$(string.RememberPasswords)" explainText="$(string.RememberPasswords_Explain)" key="Software\Policies\Mozilla\Firefox" valueName="RememberPasswords" >
-      <parentCategory ref="Mozilla:Cat_Mozilla" />
+      <parentCategory ref="firefox" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
       <supportedOn ref="SUPPORTED_WINXPSP2" />
       <enabledValue >
         <string >1</string>
         <string >0</string>
       </disabledValue>
     </policy>
         <string >0</string>
       </disabledValue>
     </policy>
+    <policy class="Both" displayName="$(string.Allow)" explainText="$(string.PopupsAllow_Explain)" key="Software\Policies\Mozilla\Firefox" name="PopupsAllow" presentation="$(presentation.PopupsAllow)">
+      <parentCategory ref="Popups"/>
+      <supportedOn ref="SUPPORTED_WINXPSP2"/>
+      <elements>
+        <list id="PopupsAllowDesc" key="Software\Policies\Mozilla\Firefox\Popups\Allow" valuePrefix=""/>
+      </elements>
+    </policy>
+    <policy class="Both" displayName="$(string.Allow)" explainText="$(string.AddonsAllow_Explain)" key="Software\Policies\Mozilla\Firefox" name="AddonsAllow" presentation="$(presentation.AddonsAllow)">
+      <parentCategory ref="Addons"/>
+      <supportedOn ref="SUPPORTED_WINXPSP2"/>
+      <elements>
+        <list id="AddonsAllowDesc" key="Software\Policies\Mozilla\Firefox\Addons\Allow" valuePrefix=""/>
+      </elements>
+    </policy>
+    <policy class="Both" displayName="$(string.Allow)" explainText="$(string.CookiesAllow_Explain)" key="Software\Policies\Mozilla\Firefox" name="CookiesAllow" presentation="$(presentation.CookiesAllow)">
+      <parentCategory ref="Cookies"/>
+      <supportedOn ref="SUPPORTED_WINXPSP2"/>
+      <elements>
+        <list id="CookiesAllowDesc" key="Software\Policies\Mozilla\Firefox\Cookies\Allow" valuePrefix=""/>
+      </elements>
+    </policy>
+    <policy class="Both" displayName="$(string.Block)" explainText="$(string.CookiesBlock_Explain)" key="Software\Policies\Mozilla\Firefox" name="CookiesBlock" presentation="$(presentation.CookiesBlock)">
+      <parentCategory ref="Cookies"/>
+      <supportedOn ref="SUPPORTED_WINXPSP2"/>
+      <elements>
+        <list id="CookiesBlockDesc" key="Software\Policies\Mozilla\Firefox\Cookies\Block" valuePrefix=""/>
+      </elements>
+    </policy>
+    <policy class="Both" displayName="$(string.Allow)" explainText="$(string.FlashAllow_Explain)" key="Software\Policies\Mozilla\Firefox" name="FlashAllow" presentation="$(presentation.FlashAllow)">
+      <parentCategory ref="Flash"/>
+      <supportedOn ref="SUPPORTED_WINXPSP2"/>
+      <elements>
+        <list id="FlashAllowDesc" key="Software\Policies\Mozilla\Firefox\Flash\Allow" valuePrefix=""/>
+      </elements>
+    </policy>
+    <policy class="Both" displayName="$(string.Block)" explainText="$(string.FlashBlock_Explain)" key="Software\Policies\Mozilla\Firefox" name="FlashBlock" presentation="$(presentation.FlashBlock)">
+      <parentCategory ref="Flash"/>
+      <supportedOn ref="SUPPORTED_WINXPSP2"/>
+      <elements>
+        <list id="FlashBlockDesc" key="Software\Policies\Mozilla\Firefox\Flash\Block" valuePrefix=""/>
+      </elements>
+    </policy>
   </policies>
 </policyDefinitions>
   </policies>
 </policyDefinitions>

patrick-canterino.de