Android.Webkit.WebSettings.AllowUniversalAccessFromFileURLs Property
Gets whether JavaScript running in the context of a file scheme URL can access content from any origin.

Syntax

[get: Android.Runtime.Register("getAllowUniversalAccessFromFileURLs", "()Z", "GetGetAllowUniversalAccessFromFileURLsHandler")]
[set: Android.Runtime.Register("setAllowUniversalAccessFromFileURLs", "(Z)V", "GetSetAllowUniversalAccessFromFileURLs_ZHandler")]
public abstract bool AllowUniversalAccessFromFileURLs { get; set; }

See Also

WebSettings.AllowUniversalAccessFromFileURLs

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Gets whether JavaScript running in the context of a file scheme URL can access content from any origin. This includes access to content from other file scheme URLs.

Set method documentation [Android Documentation]

Sets whether JavaScript running in the context of a file scheme URL should be allowed to access content from any origin. This includes access to content from other file scheme URLs. See WebSettings.AllowFileAccessFromFileURLs. To enable the most restrictive, and therefore secure policy, this setting should be disabled. Note that this setting affects only JavaScript access to file scheme resources. Other access to such resources, for example, from image HTML elements, is unaffected. The default value is true for API level NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#ICE_CREAM_SANDWICH_MR1 and below, and false for API level NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN and above.

Requirements

Namespace: Android.Webkit
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16