XtraReport.ScriptSecurityPermissions Property

Obsolete. Provides access to the collection of security permissions used to permit particular operations in report scripts.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll


[Obsolete("This property is now obsolete. See the following article for more information: https://go.devexpress.com/Reporting_ScriptExecutionMode.aspx")]
public ScriptSecurityPermissionCollection ScriptSecurityPermissions { get; }

Property Value

Type Description

A ScriptSecurityPermissionCollection object, specifying a collection of security permissions.


As opposed to setting necessary permissions globally for the entire application, you can add necessary permissions to the ScriptSecurityPermissions collection of a specific report.

The ScriptSecurityPermission.Name property identifies the class name of a security permission (a CodeAccessPermission descendant), and the ScriptSecurityPermission.Deny property specifies whether the execution of such scripts is allowed or denied.



To apply restrictions, it is required to enable the code access security (CAS) policy in the application's configuration file. Otherwise, an attempt to execute a report script will cause an exception.

To learn more, see Scripting Security.


See Also