]> git.p6c8.net - policy-templates.git/blob - linux/policies.json
Add documentation for Mixed Content Level 2 and GPC prefs
[policy-templates.git] / linux / policies.json
1 {
2 "policies": {
3 "AllowedDomainsForApps": "managedfirefox.com,example.com",
4 "AppAutoUpdate": true | false,
5 "AppUpdatePin": "106.",
6 "AppUpdateURL": "https://yoursite.com",
7 "Authentication": {
8 "SPNEGO": ["mydomain.com", "https://myotherdomain.com"],
9 "Delegated": ["mydomain.com", "https://myotherdomain.com"],
10 "NTLM": ["mydomain.com", "https://myotherdomain.com"],
11 "AllowNonFQDN": {
12 "SPNEGO": true | false,
13 "NTLM": true | false
14 },
15 "AllowProxies": {
16 "SPNEGO": true | false,
17 "NTLM": true | false
18 },
19 "Locked": true | false,
20 "PrivateBrowsing": true | false
21 },
22 "AutoLaunchProtocolsFromOrigins": [{
23 "protocol": "zoommtg",
24 "allowed_origins": [
25 "https://somesite.zoom.us"
26 ]
27 }],
28 "BackgroundAppUpdate": true | false,
29 "BlockAboutAddons": true | false,
30 "BlockAboutConfig": true | false,
31 "BlockAboutProfiles": true | false,
32 "BlockAboutSupport": true | false,
33 "Bookmarks": [
34 {
35 "Title": "Example",
36 "URL": "https://example.com",
37 "Favicon": "https://example.com/favicon.ico",
38 "Placement": "toolbar" | "menu",
39 "Folder": "FolderName"
40 }
41 ],
42 "CaptivePortal": true | false,
43 "Certificates": {
44 "Install": ["cert1.der", "/home/username/cert2.pem"],
45 },
46 "Containers": {
47 "Default": [
48 {
49 "name": "My container",
50 "icon": "pet",
51 "color": "turquoise"
52 }
53 ]
54 },
55 "Cookies": {
56 "Allow": ["http://example.org/"],
57 "AllowSession": ["http://example.edu/"],
58 "Block": ["http://example.edu/"],
59 "Locked": true | false,
60 "Behavior": "accept" | "reject-foreign" | "reject" | "limit-foreign" | "reject-tracker" | "reject-tracker-and-partition-foreign",
61 "BehaviorPrivateBrowsing": "accept" | "reject-foreign" | "reject" | "limit-foreign" | "reject-tracker" | "reject-tracker-and-partition-foreign",
62 },
63 "DefaultDownloadDirectory": "${home}/Downloads",
64 "DisableBuiltinPDFViewer": true | false,
65 "DisabledCiphers": {
66 "CIPHER_NAME": true | false,
67 },
68 "DisableDeveloperTools": true | false,
69 "DisableFeedbackCommands": true | false,
70 "DisableFirefoxAccounts": true | false,
71 "DisableFirefoxScreenshots": true | false,
72 "DisableFirefoxStudies": true | false,
73 "DisableForgetButton": true | false,
74 "DisableFormHistory": true | false,
75 "DisableMasterPasswordCreation": true | false,
76 "DisablePasswordReveal": true | false,
77 "DisablePocket": true | false,
78 "DisablePrivateBrowsing": true | false,
79 "DisableProfileImport": true | false,
80 "DisableProfileRefresh": true | false,
81 "DisableSafeMode": true | false,
82 "DisableSecurityBypass": {
83 "InvalidCertificate": true | false,
84 "SafeBrowsing": true | false
85 },
86 "DisableSetDesktopBackground": true | false,
87 "DisableSystemAddonUpdate": true | false,
88 "DisableTelemetry": true | false,
89 "DisplayBookmarksToolbar": "always" | "never" | "newtab",
90 "DisplayMenuBar": "always", "never", "default-on", "default-off",
91 "DNSOverHTTPS": {
92 "Enabled": true | false,
93 "ProviderURL": "URL_TO_ALTERNATE_PROVIDER",
94 "Locked": true | false,
95 "ExcludedDomains": ["example.com"]
96 },
97 "DontCheckDefaultBrowser": true | false,
98 "DownloadDirectory": "${home}/Downloads",
99 "EnableTrackingProtection": {
100 "Value": true | false,
101 "Locked": true | false,
102 "Cryptomining": true | false,
103 "Fingerprinting": true | false,
104 "EmailTracking": true | false,
105 "Exceptions": ["https://example.com"]
106 },
107 "EncryptedMediaExtensions": {
108 "Enabled": true | false,
109 "Locked": true | false
110 },
111 "ExemptDomainFileTypePairsFromFileTypeDownloadWarnings": [{
112 "file_extension": "jnlp",
113 "domains": ["example.com"]
114 }],
115 "Extensions": {
116 "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"],
117 "Uninstall": ["bad_addon_id@mozilla.org"],
118 "Locked": ["addon_id@mozilla.org"]
119 },
120 "ExtensionSettings": {
121 "*": {
122 "blocked_install_message": "Custom error message.",
123 "install_sources": ["https://yourwebsite.com/*"],
124 "installation_mode": "blocked",
125 "allowed_types": ["extension"]
126 },
127 "uBlock0@raymondhill.net": {
128 "installation_mode": "force_installed",
129 "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
130 },
131 "https-everywhere@eff.org": {
132 "installation_mode": "allowed"
133 }
134 },
135 "ExtensionUpdate": true | false,
136 "FirefoxHome": {
137 "Search": true | false,
138 "TopSites": true | false,
139 "SponsoredTopSites": true | false,
140 "Highlights": true | false,
141 "Pocket": true | false,
142 "SponsoredPocket": true | false,
143 "Snippets": true | false,
144 "Locked": true | false
145 },
146 "FirefoxSuggest": {
147 "WebSuggestions": true | false,
148 "SponsoredSuggestions": true | false,
149 "ImproveSuggest": true | false,
150 "Locked": true | false
151 },
152 "GoToIntranetSiteForSingleWordEntryInAddressBar": true | false,
153 "Handlers": {
154 "mimeTypes": {
155 "application/msword": {
156 "action": "useSystemDefault",
157 "ask": false
158 }
159 },
160 "schemes": {
161 "mailto": {
162 "action": "useHelperApp",
163 "ask": true | false,
164 "handlers": [{
165 "name": "Gmail",
166 "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
167 }]
168 }
169 },
170 "extensions": {
171 "pdf": {
172 "action": "useHelperApp",
173 "ask": true | false,
174 "handlers": [{
175 "name": "Adobe Acrobat",
176 "path": "/usr/bin/acroread"
177 }]
178 }
179 }
180 },
181 "HardwareAcceleration": true | false,
182 "Homepage": {
183 "URL": "http://example.com/",
184 "Locked": true | false,
185 "Additional": ["http://example.org/",
186 "http://example.edu/"],
187 "StartPage": "none" | "homepage" | "previous-session" | "homepage-locked"
188 },
189 "InstallAddonsPermission": {
190 "Allow": ["http://example.org/",
191 "http://example.edu/"],
192 "Default": true | false
193 },
194 "LegacySameSiteCookieBehaviorEnabled": true | false,
195 "LegacySameSiteCookieBehaviorEnabledForDomainList": ["example.org", "example.edu"],
196 "LocalFileLinks": ["http://example.org/", "http://example.edu/"],
197 "ManagedBookmarks": [
198 {
199 "toplevel_name": "My managed bookmarks folder"
200 },
201 {
202 "url": "example.com",
203 "name": "Example"
204 },
205 {
206 "name": "Mozilla links",
207 "children": [
208 {
209 "url": "https://mozilla.org",
210 "name": "Mozilla.org"
211 },
212 {
213 "url": "https://support.mozilla.org/",
214 "name": "SUMO"
215 }
216 ]
217 }
218 ],
219 "NetworkPrediction": true | false,
220 "NewTabPage": true | false,
221 "NoDefaultBookmarks": true | false,
222 "OfferToSaveLogins": true | false,
223 "OfferToSaveLoginsDefault": true | false,
224 "OverrideFirstRunPage": "http://example.org".
225 "OverridePostUpdatePage": "http://example.org",
226 "PasswordManagerEnabled": true | false,
227 "PasswordManagerExceptions": ["https://example.org", "https://example.edu"],
228 "PDFjs": {
229 "Enabled": true | false,
230 "EnablePermissions": true | false
231 },
232 "Permissions": {
233 "Camera": {
234 "Allow": ["https://example.org","https://example.org:1234"],
235 "Block": ["https://example.edu"],
236 "BlockNewRequests": true | false,
237 "Locked": true | false
238 },
239 "Microphone": {
240 "Allow": ["https://example.org"],
241 "Block": ["https://example.edu"],
242 "BlockNewRequests": true | false,
243 "Locked": true | false
244 },
245 "Location": {
246 "Allow": ["https://example.org"],
247 "Block": ["https://example.edu"],
248 "BlockNewRequests": true | false,
249 "Locked": true | false
250 },
251 "Notifications": {
252 "Allow": ["https://example.org"],
253 "Block": ["https://example.edu"],
254 "BlockNewRequests": true | false,
255 "Locked": true | false
256 },
257 "Autoplay": {
258 "Allow": ["https://example.org"],
259 "Block": ["https://example.edu"],
260 "Default": "allow-audio-video" | "block-audio" | "block-audio-video",
261 "Locked": true | false
262 }
263 },
264 "PictureInPicture": {
265 "Enabled": true | false,
266 "Locked": true | false
267 },
268 "PopupBlocking": {
269 "Allow": ["http://example.org/",
270 "http://example.edu/"],
271 "Default": true | false,
272 "Locked": true | false
273 },
274 "Preferences": {
275 "accessibility.force_disabled": {
276 "Value": 1,
277 "Status": "default"
278 },
279 "browser.cache.disk.parent_directory": {
280 "Value": "SOME_NATIVE_PATH",
281 "Status": "user"
282 },
283 "browser.tabs.warnOnClose": {
284 "Value": false,
285 "Status": "locked"
286 }
287 },
288 "PrimaryPassword": true | false,
289 "PrintingEnabled": true | false,
290 "PromptForDownloadLocation": true | false,
291 "Proxy": {
292 "Mode": "none" | "system" | "manual" | "autoDetect" | "autoConfig",
293 "Locked": true | false,
294 "HTTPProxy": "hostname",
295 "UseHTTPProxyForAllProtocols": true | false,
296 "SSLProxy": "hostname",
297 "FTPProxy": "hostname",
298 "SOCKSProxy": "hostname",
299 "SOCKSVersion": 4 | 5,
300 "Passthrough": "<local>",
301 "AutoConfigURL": "URL_TO_AUTOCONFIG",
302 "AutoLogin": true | false,
303 "UseProxyForDNS": true | false
304 },
305 "RequestedLocales": "de,en-US",
306 "SanitizeOnShutdown": {
307 "Cache": true | false,
308 "Cookies": true | false,
309 "Downloads": true | false,
310 "FormData": true | false,
311 "History": true | false,
312 "Sessions": true | false,
313 "SiteSettings": true | false,
314 "OfflineApps": true | false,
315 "Locked": true | false
316 },
317 "SearchEngines": {
318 "Add": [
319 {
320 "Name": "Example1",
321 "URLTemplate": "https://www.example.org/q={searchTerms}",
322 "Method": "GET" | "POST",
323 "IconURL": "https://www.example.org/favicon.ico",
324 "Alias": "example",
325 "Description": "Description",
326 "PostData": "name=value&q={searchTerms}",
327 "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
328 }
329 ],
330 "Default": "NAME_OF_SEARCH_ENGINE",
331 "PreventInstalls": true | false,
332 "Remove": ["NAME_OF_SEARCH_ENGINE"]
333 },
334 "SearchSuggestEnabled": true | false,
335 "SecurityDevices": {
336 "NAME_OF_DEVICE": "PATH_TO_LIBRARY_FOR_DEVICE"
337 },
338 "ShowHomeButton": true | false,
339 "SSLVersionMax": "tls1" | "tls1.1" | "tls1.2" | "tls1.3",
340 "SSLVersionMin": "tls1" | "tls1.1" | "tls1.2" | "tls1.3",
341 "SupportMenu": {
342 "Title": "Support Menu",
343 "URL": "http://example.com/support",
344 "AccessKey": "S"
345 },
346 "StartDownloadsInTempDirectory": true | false,
347 "TranslateEnabled": true | false,
348 "UserMessaging": {
349 "WhatsNew": true | false,
350 "ExtensionRecommendations": true | false,
351 "FeatureRecommendations": true | false,
352 "UrlbarInterventions": true | false,
353 "SkipOnboarding": true | false,
354 "MoreFromMozilla": true | false,
355 "Locked": true | false
356 },
357 "UseSystemPrintDialog": true | false.,
358 "WebsiteFilter": {
359 "Block": ["<all_urls>"],
360 "Exceptions": ["http://example.org/*"]
361 }
362 }
363 }

patrick-canterino.de