Gets or sets whether or not confidential information (such as user credentials) will be passed to the client side (web browser).
true, to pass confidential information to the client side; otherwise, false.
The Web Dashboard allows you to use various types of data sources (for instance, DashboardSqlDataSource or DashboardOlapDataSource) whose connection parameters can contain confidential information such as user credentials. You can set whether or not this information will be passed to the client side (web browser) using the boolean PassCredentials property. To avoid any security issues, we recommend setting this property to false and providing connection parameters in one of the following ways.
- Add the required connection string to the connectionStrings section in the Web.config file and provide the required connection parameters.
- Create a provider of data connections by implementing the IDataSourceWizardConnectionStringsProvider interface and pass the created provider to the DashboardConfigurator.SetConnectionStringsProvider method.
- Handle the DashboardConfigurator.ConfigureDataConnection event to provide the required connection parameters at runtime.