Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(978)

Unified Diff: docs/webview_policies.md

Issue 1869693004: [doc] add public docs about Webview Policies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/webview_policies.md
diff --git a/docs/webview_policies.md b/docs/webview_policies.md
new file mode 100644
index 0000000000000000000000000000000000000000..38e57db85644caf78f1b6a35bb8f597bbc69f39d
--- /dev/null
+++ b/docs/webview_policies.md
@@ -0,0 +1,35 @@
+# WebView Policies
+
+## Overview
+
+WebView supports a subset of Chrome's policies, that can be set via the
+[App Restrictions][1] mechanism. They are read on the embedder app itself rather
+than from a centralized location. That gives administrator more flexibility and
+granularity, but to apply a global policy, it has to be set separately
+on each app.
+
+The policies will be applied to WebViews used inside the targeted apps without
+having to modify the apps themselves. No special WebView APIs have been added
+to expose policy information. If developers want to change their app's behavior
+depending on that, they can [read them][2] as they have access to the
+App Restrictions.
+
+## 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.
+
+* Simple URL filtering
+ + `com.android.browser:URLBlacklist`: Block access to a list of URLs
+ + `com.android.browser:URLWhitelist`: Allows access to a list of URLs, as
+ exceptions to the URL blacklist
+
+* Kerberos Setup
+ + `com.android.browser:AuthServerWhitelist`: Specifies which servers
+ should be whitelisted for integrated authentication
+ + `com.android.browser:AuthAndroidNegotiateAccountType`: Specifies the
+ account type of the accounts provided by the Android authentication app
+ that supports HTTP Negotiate authentication
+
+Please see the full [Policy List][2] for more information.
+
+[3]: http://developer.android.com/training/enterprise/work-policy-ctrl.html#apply_restrictions
+[1]: http://developer.android.com/training/enterprise/app-restrictions.html
+[2]: https://www.chromium.org/administrators/policy-list-3
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698