Configuring a Database Security Provider
Note: You can get familiar with how Coveo components deal with permissions on documents
both at indexing and query time
To create or modify a database security provider
-
On the Coveo server, access the Administration Tool (see Opening the Administration Tool).
-
Select Configuration > Security.
-
In the navigation panel on the left, select Security Providers.
-
In the Security Providers page:
-
Click Add to create a new security provider.
OR
-
Click an existing security provider to modify it.
-
-
In the Modify Security Provider page:
-
In the Name box, enter a name to identify this security provider.
-
In the Security Provider Type drop-down list:
-
On a 32-bit server, select Database (x86).
-
On a 64-bit server, select Database (x64), or when the database driver used is a 32-bit process, select Database (x86).
-
-
In the User Identity section, select a user identity only when you want to hide the account credentials in the Database Connection String:
-
In the drop-down list, select the user identity that you selected or created to crawl your databases.
-
When this is not already done, click Add, Edit, or Manage user identities respectively to create, modify, or manage user identities.
-
-
In the Security Provider drop-down list:
Note: CES 7.0.8691– (December 2016) The parameter was labeled Active Directory Security Provider.
-
Select the security provider that you selected or created to allow this security provider to resolve and expand the groups (see Database Connector Deployment Overview).
-
When an appropriate security provider is missing, click Add, Edit, or Manage security providers respectively to create, modify, or manage security providers.
-
-
In the Database Connection String box, enter the connection string used to connect to the database. The connection string syntax differs from one database type to another. Refer to the appropriate documentation for the format of the connection string specific to your database (see www.connectionstrings.com).
Note: When you assign a user identity to the security provider, you can hide the password and the user ID by replacing them with tokens in the connection string (see Replacing the Identity in Database Connection Strings).
-
In the Drive Type box, enter the type of the driver used to connect to the database:
-
Enter Odbc for Open Database Connectivity.
-
Enter OleDb for Object Linking and Embedding, Database.
-
Enter SqlClient for an SQL client.
-
-
In the Query Page Size box, enter the desired page size value for an ODBC query when executing in paged mode. The value should be positive and different from 0. The default value is 5000.
-
In the Query Timeout Time box, enter the maximum time (in milliseconds) allowed to perform a query on the database. The default value is 60000 ms (60 seconds).
-
In the Parameters section, in rare cases, the Coveo Support could instruct you to click Add Parameters to specify other security provider parameter names and values that could help to troubleshoot security provider issues.
-
Leave the Allow Complex Identities option cleared as it does not apply to this type of security provider.
-
Click Save or Apply Changes, depending whether you are creating or modifying a security provider.
-
What's Next?
Create an index a source (Configuring and Indexing a Database Source).