Skip to main content

AccessSettings.ReportingSpecificResources Property

Provides access to the AccessSettings class’s instance that allows you to specify Reporting-specific resource access settings.

Namespace: DevExpress.Security.Resources

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public static AccessSettings ReportingSpecificResources { get; }

Property Value

Type Description
AccessSettings

The object that allows you to set Reporting-specific resource access rules.

Property Paths

You can access this nested property as listed below:

Object Type Path to ReportingSpecificResources
AccessSettings
.DataResources .ReportingSpecificResources
AccessSettings
.ReportingSpecificResources .ReportingSpecificResources
AccessSettings
.StaticResources .ReportingSpecificResources

Remarks

Reporting-specific resources include style sheet files and report layout serialization format.

Use the following rules for these resources:

Use the SetRules(IAccessRule[]) method of the object that this property returns to specify Reporting-specific resource access rules.

// Allow style sheets to be loaded only from the "C:\\StaticResources\\" file directory
DevExpress.Security.Resources.AccessSettings.ReportingSpecificResources.SetRules(DirectoryAccessRule.Allow("C:\\StaticResources\\"));

In Web applications, deserialization of report layouts (REPX files) and style sheets (REPSS files) stored in CodeDOM format is disabled. An exception is thrown on an attempt to load such a report or style sheet. Refer to the following breaking change ticket for more information on how to use the SerialiazationFormatRule setting in this situation: BC4930.

See Also