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.2.dll
Declaration
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 |
|
AccessSettings |
ReportingSpecificResources
|
AccessSettings |
|
Remarks
Reporting-specific resources include style sheet files and report layout serialization format.
Use the following rules for these resources:
DirectoryAccessRule
Allows or denies access to all/specific style sheet files.SerialiazationFormatRule
Allows or denies a report layout serialization format.
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.