OLD | NEW |
---|---|
(Empty) | |
1 # WebView Policies | |
2 | |
3 ## Overview | |
4 | |
5 WebView supports a subset of Chrome's policies, that can be set via the | |
6 [App Restrictions][1] mechanism. They are read on the embedder app itself rather | |
7 than from a centralized location. That gives administrator more flexibility and | |
8 granularity, but to apply a global policy, it has to be set separately | |
9 on each app. | |
10 | |
11 The policies will be applied to WebViews used inside the targeted apps without | |
12 having to modify the apps themselves. No special WebView APIs have been added | |
13 to expose policy information. If developers want to change their app's behavior | |
14 depending on that, they can [read them][2] as they have access to the | |
15 App Restrictions. | |
16 | |
17 ## Supported policies | |
Bernhard Bauer
2016/04/07 15:55:55
I wouldn't actually add this, as it will just beco
dgn
2016/04/08 12:29:27
Done.
| |
18 | |
19 * Simple URL filtering | |
20 + `com.android.browser:URLBlacklist`: Block access to a list of URLs | |
21 + `com.android.browser:URLWhitelist`: Allows access to a list of URLs, as | |
22 exceptions to the URL blacklist | |
23 | |
24 * Kerberos Setup | |
25 + `com.android.browser:AuthServerWhitelist`: Specifies which servers | |
26 should be whitelisted for integrated authentication | |
27 + `com.android.browser:AuthAndroidNegotiateAccountType`: Specifies the | |
28 account type of the accounts provided by the Android authentication app | |
29 that supports HTTP Negotiate authentication | |
30 | |
31 Please see the full [Policy List][2] for more information. | |
32 | |
33 [3]: http://developer.android.com/training/enterprise/work-policy-ctrl.html#appl y_restrictions | |
34 [1]: http://developer.android.com/training/enterprise/app-restrictions.html | |
35 [2]: https://www.chromium.org/administrators/policy-list-3 | |
OLD | NEW |