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.v20.2.dll
NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data
Declaration
Property Value
Type | Description |
---|---|
AccessSettings | The object that allows you to set Reporting-specific resource access rules. |
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
// Deny CodeDOM report layout serialization format
DevExpress.Security.Resources.AccessSettings.ReportingSpecificResources.SetRules(DirectoryAccessRule.Allow("C:\\StaticResources\\"), SerializationFormatRule.Deny(SerializationFormat.CodeDom));