ExternalFileAccessSecurityLevelSettings.SecurityLevel Property

Specifies whether access to external files is allowed in the current application's reports.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

public static ExternalFileAccessSecurityLevel SecurityLevel { get; set; }
Public Shared Property SecurityLevel As ExternalFileAccessSecurityLevel

Property Value

Type Description
ExternalFileAccessSecurityLevel

An enumeration value that specifies whether access to external files is allowed.

Remarks

Use the SecurityLevel property to modify access to the XmlDataPath, StyleSheetPath and XRControlStyleSheet.FileName property values:

  • WinForms and WPF applications
    Set the SecurityLevel property to Restricted to disable access to external files.

  • Web applications
    Set the SecurityLevel property to Unrestricted to enable access to external files.

See Also