]> git.p6c8.net - policy-templates.git/commitdiff
Add basic templates for boolean policies
authorMichael Kaply <consulting@kaply.com>
Thu, 1 Mar 2018 16:29:39 +0000 (10:29 -0600)
committerMichael Kaply <consulting@kaply.com>
Thu, 1 Mar 2018 16:29:39 +0000 (10:29 -0600)
windows/en-US/firefox.adml [new file with mode: 0644]
windows/en-US/mozilla.adml [new file with mode: 0644]
windows/firefox.admx [new file with mode: 0644]
windows/mozilla.admx [new file with mode: 0644]

diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml
new file mode 100644 (file)
index 0000000..f388058
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<policyDefinitionResources revision="1.0" schemaVersion="1.0" >
+  <displayName/>
+  <description/>
+  <resources >
+    <stringTable >
+      <string id="SUPPORTED_WINXPSP2" >Microsoft Windows XP SP2 or later</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="BlockAboutProfiles">Block About Profiles</string>
+      <string id="BlockAboutProfiles_Explain">Blocks access to the about:profiles page.</string>
+      <string id="BlockAboutSupport">Block About Support</string>
+      <string id="BlockAboutSupport_Explain">Blocks access to the about:support page.</string>
+      <string id="BlockSetDesktopBackground">Block Set Desktop Background</string>
+      <string id="BlockSetDesktopBackground_Explain">Prevents usage of the &quot;Set Image as Desktop Background&quot; feature.</string>
+      <string id="CreateMasterPassword">Create Master Password</string>
+      <string id="CreateMasterPassword_Explain">If false, removes access to create a master password.</string>
+      <string id="DisableAppUpdate">Disable Update</string>
+      <string id="DisableAppUpdate_Explain">Prevent the browser from updating.</string>
+      <string id="DisableDeveloperTools">Disable Developer Tools</string>
+      <string id="DisableDeveloperTools_Explain">Prevents access to developer tools.</string>
+      <string id="DisableFirefoxScreenshots">Disable Firefox Screenshots</string>
+      <string id="DisableFirefoxScreenshots_Explain">Prevents usage of the Firefox Screenshots feature.</string>
+      <string id="DisableFirefoxStudies">Disable Firefox Studies</string>
+      <string id="DisableFirefoxStudies_Explain">Prevents Firefox from running studies.</string>
+      <string id="DisableFormHistory">Disable Form History</string>
+      <string id="DisableFormHistory_Explain">Don't remember search and form history.</string>
+      <string id="DisablePocket">Disable Pocket</string>
+      <string id="DisablePocket_Explain">Prevents ability to save webpages to Pocket.</string>
+      <string id="DisplayBookmarksToolbar">Display Bookmarks Toolbar</string>
+      <string id="DisplayBookmarksToolbar_Explain">Causes the bookmarks toolbar to be displayed by default.</string>
+      <string id="DisplayMenuBar">Display Menu Bar</string>
+      <string id="DisplayMenuBar_Explain">Causes the menu bar to be displayed by default.</string>
+      <string id="DontCheckDefaultBrowser">Don't Check Default Browser</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>
+    </stringTable>
+  </resources>
+</policyDefinitionResources>
diff --git a/windows/en-US/mozilla.adml b/windows/en-US/mozilla.adml
new file mode 100644 (file)
index 0000000..9fbed1f
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" ?>
+<policyDefinitionResources revision="1.0" schemaVersion="1.0">
+  <displayName/>
+  <description/>
+  <resources>
+    <stringTable>
+      <string id="mozilla">Mozilla</string>
+    </stringTable>
+  </resources>
+</policyDefinitionResources>
diff --git a/windows/firefox.admx b/windows/firefox.admx
new file mode 100644 (file)
index 0000000..8587f45
--- /dev/null
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="utf-8"?>
+<policyDefinitions revision="1.0" schemaVersion="1.0" >
+  <policyNamespaces >
+    <target prefix="firefox" namespace="Mozilla.Policies.Firefox" />
+    <using prefix="Mozilla" namespace="Mozilla.Policies" />
+  </policyNamespaces>
+  <resources minRequiredRevision="1.0" />
+  <supportedOn >
+    <definitions >
+      <definition name="SUPPORTED_WINXPSP2" displayName="$(string.SUPPORTED_WINXPSP2)" />
+    </definitions>
+  </supportedOn>
+  <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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </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" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <enabledValue >
+        <string >1</string>
+      </enabledValue>
+      <disabledValue >
+        <string >0</string>
+      </disabledValue>
+    </policy>
+  </policies>
+</policyDefinitions>
diff --git a/windows/mozilla.admx b/windows/mozilla.admx
new file mode 100644 (file)
index 0000000..d86ec2f
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" ?>
+<policyDefinitions revision="1.0" schemaVersion="1.0">
+  <policyNamespaces>
+    <target namespace="Mozilla.Policies" prefix="Mozilla"/>
+  </policyNamespaces>
+  <resources minRequiredRevision="1.0" />
+  <categories>
+    <category displayName="$(string.mozilla)" name="Cat_Mozilla"/>
+  </categories>
+</policyDefinitions>

patrick-canterino.de