Skip to main content
A newer version of this page is available. .

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; }

Property Value

Type Description
ExternalFileAccessSecurityLevel

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

Available values:

Name Description
Unrestricted

Enables access to external files.

Restricted

Disables access to external files.

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