Android.Webkit.WebSettings.AllowFileAccessFromFileURLs Property
Gets whether JavaScript running in the context of a file scheme URL can access content from other file scheme URLs.

Syntax

[get: Android.Runtime.Register("getAllowFileAccessFromFileURLs", "()Z", "GetGetAllowFileAccessFromFileURLsHandler")]
[set: Android.Runtime.Register("setAllowFileAccessFromFileURLs", "(Z)V", "GetSetAllowFileAccessFromFileURLs_ZHandler")]
public abstract bool AllowFileAccessFromFileURLs { get; set; }

See Also

WebSettings.AllowFileAccessFromFileURLs

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 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 other file scheme URLs. To enable the most restrictive, and therefore secure policy, this setting should be disabled. Note that the value of this setting is ignored if the value of WebSettings.AllowUniversalAccessFromFileURLs is true. Note too, 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