Back to Devexpress

UrlAccessSecurityLevel Enum

corelibraries-devexpress-dot-utils-c4f80ec1.md

latest1.6 KB
Original Source

UrlAccessSecurityLevel Enum

Lists the values specifying whether a report control can load images using the “file://“ protocol.

Namespace : DevExpress.Utils

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public enum UrlAccessSecurityLevel
vb
Public Enum UrlAccessSecurityLevel

Members

NameDescription
Restricted
WebUrlsOnly

Forbids loading images using the “file://“ protocol (only the “http://“, “https://“ and “ftp://“ protocols are supported).

| | FilesFromBaseDirectory |

Enables loading of images from an application’s working directory (defined by the AppDomain.CurrentDomain.BaseDirectory property).

| | FilesFromDirectories | | | Custom |

Enables loading of images from custom directories (defined using the UrlAccessSecurityLevelSetting.RegisterCustomBaseDirectories or UrlAccessSecurityLevelSetting.RegisterCustomCallback method).

| | Unrestricted |

Enables loading of any image from any directory.

|

Remarks

A UrlAccessSecurityLevel enumeration value is returned by the UrlAccessSecurityLevelSetting.SecurityLevel property.

See Also

DevExpress.Utils Namespace