ScriptSecurityPermission.Deny Property
In This Article
Gets or sets a value indicating if this permission denies or permits the corresponding scripts to run.
Namespace: DevExpress.XtraReports
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if scripts are denied; otherwise, false. |
#Remarks
The Deny property specifies whether the scripts corresponding to this ScriptSecurityPermission object are allowed or denied.
For instance, if the ScriptSecurityPermission.Name property is “System.Security.Permissions.FileIOPermission”, and the Deny property is set to false, then all the file operations will be allowed, and to deny them you should set the Deny property value to true.
See Also