Skip to main content

DashboardConfigurator.VerifyClientTrustLevel Event

Allows you to verify the trust level used to specify which actions a client can initiate to execute them on a server side.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v22.1.Web.dll

Declaration

public event VerifyClientTrustLevelEventHandler VerifyClientTrustLevel

Event Data

The VerifyClientTrustLevel event's data class is VerifyClientTrustLevelEventArgs. The following properties provide information specific to this event:

Property Description
ClientTrustLevel Gets or sets the trust level that specifies which actions a client can initiate to execute them on a server side.

Remarks

You can verify the trust level and specify which actions a client can initiate to execute them on a server side. If you use Restricted mode, you can prevent inadvertent or unauthorized modifications to dashboards stored on the server. A list below describes the Web Dashboard’s specifics when it operates in the Restricted mode:

  • Only dashboards stored in dashboard storage can be processed on the client. The designer mode does not work.

  • Calling the IEditableDashboardStorage.AddDashboard and IDashboardStorage.SaveDashboard methods leads to an exception.

  • Information about data sources contained in a dashboard xml definition is not passed to the client when you request a dashboard xml file.

You can do one of the following to prevent inadvertent or unauthorized dashboard modifications and protect dashboards stored on a server:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VerifyClientTrustLevel event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also