Secure your driver configuration
- Last Updated: January 30, 2024
- 2 minute read
- DataDirect Connectors
- ODBC
- Aha! 8.0
- Amazon Redshift 8.0
- Apache Cassandra 8.0
- Apache Hive 8.0
- Apache Spark SQL 8.0
- Autonomous Rest Connector 8.0
- Cloudera Impala 7.1
- dBase 7.1
- + 24
Data sources
A data source is a collection of information that is used to establish a connection. Data source information is associated with a data source name and stored on the local system.
- User Data Sources are stored in the
HKEY_CURRENT_USERsection of the registry. The information in a User Data Source is accessible only to the user that defined or owns the data source. - System Data Sources are stored in the
HKEY_LOCAL_MACHINEsection of the registry and are accessible to any user that can access the system.
On UNIX and Linux Systems, data source information is stored on a file, typically an odbc.ini file, in the local file system. The permissions for this file must be set to restrict access to only the user(s) that need it.
Connection strings
An application can use a connection string to specify the information needed to establish a connection. When a connection string is used, the application passes all of the connection information to the driver. There is no connection information stored on the local system. Using a connection string gives the application control over where and how the information is stored.
For more information, see the "Secure connection strings" section in "Secure connection option settings."
Database vendor files
Some database vendors support configuration files that can be used to store connection information for their databases. For example, the TNSNames file can be used to configure connections to Oracle databases. Best security practices dictate that the permission for the vendor specific file must be set to restrict access to the file to only authorized users.