Configuring Authentication

You can select the type of authentication to use for a connection by defining the AuthMech connection attribute in a connection string or in a DSN (in the odbc.ini file). Settings in the connection string take precedence over settings in the DSN, and settings in the DSN take precedence over connector-wide settings.

Depending on the authentication mechanism you use, there might be additional connection attributes that you must define. For more information about the attributes involved in configuring authentication, see Authentication Driver Configuration Options on page 1.

The following authentication methods are available:

  • Configuring the Driver on page 1
  • Driver Configuration Options on page 1