Database Proxy¶
The 12Port Database Proxy brokers native connections between users' database clients and database servers. It allows users to access databases through their usual tools and applications, without connecting directly to the database or handling its credentials.
Instead of authenticating users against individual database accounts, 12Port authenticates them through their 12Port account with an optional MFA challenge, verifies their access permissions, and establishes the backend connection using the credentials stored in the database asset. The database credentials remain managed by 12Port and are never exposed to the user.
Database sessions are centrally managed in 12Port. Administrators can monitor active sessions, terminate connections, and, when enabled in the user's assigned access profile, record session activity for auditing and review.
The Database Proxy is agentless, so no software needs to be installed on the database server or on the user's computer beyond their preferred database client.
Use Cases¶
The Database Proxy provides controlled access to databases while maintaining centralized credential management, authorization, and session oversight.
Common use cases include:
- Privileged database access: Allow administrators, developers, and database operators to connect to databases using their existing database clients without providing them with the underlying database credentials.
- Credential protection: Keep database account passwords within 12Port. Users authenticate with their 12Port credentials and do not need to know or manage the database account password.
- Centralized access control: Apply existing 12Port permissions, access request workflows, access profiles, and MFA policies to database connections.
- Session monitoring and termination: View database sessions centrally and terminate active connections when necessary.
- Database activity auditing: Record database statements, bind values, query results, row counts, and errors where supported by the database implementation and configured recording settings.
- Credential rotation: Rotate database account passwords through 12Port without requiring users to update their database client credentials.
- Controlled network access: Broker database connections through the 12Port node or a configured peer gateway, without requiring direct client-to-database connectivity.
How It Works¶
The Database Proxy sits between the user's database client and the target database. It handles user authentication and authorization before establishing a backend connection using the database asset's credentials.
- The user connects to the 12Port Database Proxy using their usual database client and specifies the target database asset.
- The proxy identifies the database protocol and resolves the requested asset.
- The user authenticates using their personal 12Port credentials.
- 12Port verifies the user's permissions, any required access request, the asset's access profile, and applicable MFA requirements.
- Once authorized, the proxy connects to the target database using the credentials stored in the database asset, not their personal credentials.
- The proxy relays communication between the client and database. When recording is enabled, session activity is captured according to the asset's access profile.
- The session is tracked in 12Port and can be monitored or terminated by an administrator.
The user interacts with the database through their normal client, while 12Port manages the authentication, authorization, backend credentials, and session broker lifecycle.
Supported Databases¶
The Database Proxy supports multiple database vendors through native database protocol handling. Each supported database has its own implementation and may have specific connection requirements, supported clients, authentication methods, encryption options, and recording capabilities.
Refer to the relevant database documentation for vendor-specific configuration, connection instructions, supported clients, and implementation details.
- Oracle Database – Connect to Oracle Database instances through the 12Port Database Proxy. See the Oracle Database guide for supported versions, configuration, connection examples, encryption, and recording details.
Additional database vendors will be documented here as support becomes available.
Requirements¶
The following general requirements apply to using the Database Proxy:
- The 12Port Database Proxy feature enabled on the tenant.
- A Database Access Server port must be assigned to the tenant and reachable from the user's database clients.
- The 12Port node, or a configured peer gateway, must have network access to the target database.
- Each target database must be configured as an appropriate database asset in 12Port, including its connection URL and backend credentials.
- Each user must have a 12Port account with a transit credential configured.
- The user must have the required permissions and access profile to access the database asset.
Refer to the relevant database vendor guide for additional requirements and configuration details.