Database Proxy

Enterprise

Secure, audited database access through RedFox. No direct database exposure, full query logging and role-based restrictions.

PostgreSQL is wire-protocol proxied today. MySQL and MSSQL targets can be registered in the data model, but full wire-protocol proxying for those engines is still in progress — contact us for current status before relying on it.

Supported databases

PostgreSQL

Wire protocol proxy (pgproto3). Query logging and dual-control guardrails on destructive statements.

MySQL

Target registration available; wire-protocol proxying in progress.

MSSQL

Target registration available; wire-protocol proxying in progress.

Query audit

Full query logging

Every SQL query is captured, timestamped and attributed to the authenticated user. Queries are stored in the WORM audit log — immutable and tamper-proof.

Destructive-statement guardrail

Built-in rules require dual control (a second approver) before DROP DATABASE, DROP SCHEMA ... CASCADE, TRUNCATE and DROP TABLESPACE execute, and flag DELETE without a WHERE clause for visibility.

Configuration

  1. Add a database target — Navigate to Targets → Add Target, select "Database", enter the connection details.
  2. Store credentials — Add database credentials to the vault.
  3. Connect — Users connect through RedFox using their standard database client (e.g. psql) pointed at the RedFox proxy endpoint.

Security

  • Database servers are never exposed directly — only RedFox connects to them
  • Database credentials are stored encrypted in the vault (AES-256-GCM) and injected at connection time
  • All queries are logged immutably in the WORM audit trail
  • Dual-control guardrails prevent accidental or malicious data destruction

Need help with database proxy configuration? Contact [email protected]. For Enterprise licensing, reach out to [email protected].