]> git.p6c8.net - policy-templates.git/blob - README.md
Merge pull request #22 from mozilla/1436851_DisableSysAddonUpdate
[policy-templates.git] / README.md
1 Policies can either be specified using the GPO templates or by putting a file called policies.json in the distribution directory.
2 The content of the JSON file should look like this:
3 ```
4 {
5 "policies": {
6 ...POLICIES...
7 }
8 }
9 ```
10 Policies are documented below.
11
12 ### BlockAboutAddons
13 This policy removes access to about:addons.
14 ```
15 {
16 "policies": {
17 "BlockAboutAddons": true
18 }
19 }
20 ```
21 ### BlockAboutConfig
22 This policy removes access to about:config.
23 ```
24 {
25 "policies": {
26 "BlockAboutConfig": true
27 }
28 }
29 ```
30 ### BlockAboutSupport
31 This policy removes access to about:support.
32 ```
33 {
34 "policies": {
35 "BlockAboutSupport": true
36 }
37 ```
38 ### BlockSetDesktopBackground
39 This policy removes the "Set As Desktop Background..." menuitem when right clicking on an image.
40 ```
41 {
42 "policies": {
43 "BlockAboutSupport": true
44 }
45 }
46 ```
47 ### CreateMasterPassword
48 This policy removes the master password functionality.
49 ```
50 {
51 "policies": {
52 "CreateMasterPassword": false
53 }
54 }
55 ```
56 ### DisableAppUpdate
57 This policy turns off application updates.
58 ```
59 {
60 "policies": {
61 "DisableAppUpdate": true
62 }
63 }
64 ```
65 ### DisableDeveloperTools
66 This policy removes access to all developer tools.
67 ```
68 {
69 "policies": {
70 "DisableDeveloperTools": true
71 }
72 }
73 ```
74 ### DisableDeveloperTools
75 This policy removes access to all developer tools.
76 ```
77 {
78 "policies": {
79 "DisableDeveloperTools": true
80 }
81 }
82 ```
83 ### DisableFirefoxScreenshots
84 This policy removes access to Firefox Screenshots
85 ```
86 {
87 "policies": {
88 "DisableFirefoxScreenshots": true
89 }
90 }
91 ```
92 ### DisableFirefoxAccounts
93 This policy disables Sync
94 ```
95 {
96 "policies": {
97 "DisableFirefoxAccounts": true
98 }
99 }
100 ```
101 ### DisableFirefoxStudies
102 This policy disables Firefox studies (Shield)
103 ```
104 {
105 "policies": {
106 "DisableFirefoxAccounts": true
107 }
108 }
109 ```
110 ### DisableFormHistory
111 This policy turns off the browser.formfill.enable preferences
112 ```
113 {
114 "policies": {
115 "DisableFormHistory": true
116 }
117 }
118 ```
119 ### DisablePocket
120 This policy turns off Pocket
121 ```
122 {
123 "policies": {
124 "DisablePocket": true
125 }
126 }
127 ```
128 ### DisablePrivateBrowsing
129 This policy removes access to private browsing
130 ```
131 {
132 "policies": {
133 "DisablePrivateBrowsing": true
134 }
135 }
136 ```
137 ### DisableSysAddonUpdate
138 This policy prevents system add-ons from being updated or installed.
139 ```
140 {
141 "policies": {
142 "DisableSysAddonUpdate": true
143 }
144 }
145 ```
146 ### DisplayBookmarksToolbar
147 This policy turns on the bookmarks toolbar by default. A user can still turn it off and it will stay off.
148 ```
149 {
150 "policies": {
151 "DisplayBookmarksToolbar": true
152 }
153 }
154 ```
155 ### DisplayMenuBar
156 This policy turns on the menubar by default. A user can still turn it off and it will stay off.
157 ```
158 {
159 "policies": {
160 "DisplayMenuBar": true
161 }
162 }
163 ```
164 ### DontCheckDefaultBrowser
165 This policy stops Firefox from checking if it is the default browser at startup.
166 ```
167 {
168 "policies": {
169 "DontCheckDefaultBrowser": true
170 }
171 }
172 ```
173 ### RememberPasswords
174 This policy sets the signon.rememberSignons preference. It can either be enabled or disabled.
175 ```
176 {
177 "policies": {
178 "RememberPasswords": true
179 }
180 }
181 ```
182 ### Homepage
183 This policy sets the default homepage value. It can also be used to lock the homepage and add additional homepages.
184 ```
185 {
186 "policies": {
187 "Homepage": {
188 "URL": "http://example.com/",
189 "Locked": true,
190 "Additional": ["http://example.org/",
191 "http://example.edu/"]
192 }
193 }
194 }
195 ```
196 ### Popups
197 This policy sets domains for which popups are allowed
198 ```
199 {
200 "policies": {
201 "Popups": {
202 "Allow": ["http://example.org/",
203 "http://example.edu/"]
204 }
205 }
206 }
207 ```
208 ### InstallAddons
209 This policy sets domains that can install extensions
210 ```
211 {
212 "policies": {
213 "InstallAddons": {
214 "Allow": ["http://example.org/",
215 "http://example.edu/"]
216 }
217 }
218 }
219 ```
220 ### Cookies
221 This policy sets domains that can set or not set cookies.
222 ```
223 {
224 "policies": {
225 "Cookies": {
226 "Allow": ["http://example.org/"],
227 "Block": ["http://example.edu/"]
228 }
229 }
230 }
231 ```
232 ### FlashPlugin
233 This policy sets domains that can use or not use Flash
234 ```
235 {
236 "policies": {
237 "FlashPlugin": {
238 "Allow": ["http://example.org/"],
239 "Block": ["http://example.edu/"]
240 }
241 }
242 }
243 ```
244 ### Bookmarks
245 This policy allows you to specify bookmarks. You can have any number of bookmarks although only ten are specified in the ADMX file.
246 Placement can be specified as either toolbar or menu. If a folder is specified, it is automatically created and bookmarks with the
247 same folder name are grouped together.
248
249 ```
250 {
251 "policies": {
252 "Bookmarks": [
253 {"Title": "Example",
254 "URL": "http://example.org",
255 "Favicon": "http://example.com/favicon.ico",
256 "Placement": "toolbar",
257 "Folder": "Bookmarks"
258 }
259 ]
260 }
261 }
262 ```

patrick-canterino.de