Skip to main content

ScriptSecurityPermission.Deny Property

Gets or sets a value indicating if this permission denies or permits the corresponding scripts to run.

Namespace: DevExpress.XtraReports

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core


public bool Deny { get; set; }

Property Value

Type Default Description
Boolean true

true if scripts are denied; otherwise, false.


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