Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[DefaultValue(true)]
public bool Deny { get; set; }

#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