Previous Topic: Configure an Endpoint to Use a Database (ODBC, OLEDB, OCI) Password ConsumerNext Topic: Configure an Endpoint to Use a CLI Password Consumer


Configure an Endpoint to Use a Database (.NET) Password Consumer

Valid on Windows Agentless Endpoints

You can use a .NET database password consumer to replace hard-coded passwords in applications that use .NET to connect to a database. When an application tries to connect to the database, the SAM Agent intercepts the connection attempt and replaces the hard-coded password with the privileged account password that it retrieves from CA ControlMinder Enterprise Management.

Note: The application must reside on a Windows Agentless endpoint on which CA ControlMinder is installed.

SAM uses a profiler to load a plugin to intercept each connection attempt. The .NET plug-in intercepts connection attempts that use .NET. The following registry key control the behavior of CA ControlMinder .NET:

HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\AccessControl\Instrumentation\.NET\

The settings for the profiler and plug-in are located in the following subkeys:

To configure an endpoint to use a .NET database password consumer

  1. Verify that CA ControlMinder is installed on the endpoint with the SAM Integration feature enabled.

    Note: Install CA ControlMinder on the endpoint on which the application that connects to the database is installed. You do not need to install CA ControlMinder on the database host.

  2. Stop CA ControlMinder on the endpoint.
  3. In the appropriate registry subkey for the connection type, do the following:
  4. Start CA ControlMinder.

    You have configured the endpoint to use a database password consumer. You must now create a database password consumer for the application in CA ControlMinder Enterprise Management.

    Note: If you create a password consumer for an IIS application, specify the NT_AUTHORITY\NETWORK SERVICE and hostname\IUSR_hostname as users that can use the password consumer to get the privileged account password, where hostname is the name of the endpoint.