Security Overview
Security Overview
AI for Database is designed with a security-first architecture. Your database credentials and query results are treated as sensitive data at every layer.
Core Security Principles
Read-only by default. AI for Database connects to your database with read-only permissions. The AI cannot modify, delete, or insert data. Even if a prompt injection were attempted, the database user does not have write privileges.
Minimal access. We recommend granting access only to the specific schemas and tables your team needs to query. Use schema filters in the connection settings to limit the AI's visibility.
Zero data retention. Query results pass through our servers but are not stored permanently. Results are cached in memory for the duration of your session and discarded afterward. On Enterprise plans, you can disable caching entirely.
Encryption
In transit: All connections use TLS 1.2 or higher. Database connections, API calls, and browser sessions are all encrypted.
At rest: Database passwords are encrypted using AES-256-GCM before being stored. Credentials are never included in API responses — connection objects returned by the API and UI are stripped of all secret fields.
Network Security
Connection sources: Our cloud product runs on serverless infrastructure, so outbound connections do not come from a fixed IP address. Instead of IP allowlisting, secure direct connections with a dedicated read-only database user, a strong password, and TLS required on the database side (for PostgreSQL, a hostssl rule with scram-sha-256). If your firewall must restrict by source, use an SSH tunnel instead.
SSH tunnels: Connect through a bastion host for databases in private networks. The tunnel encrypts all traffic between AI for Database and your bastion, and your database never needs to accept connections from the public internet.
VPC peering: On Enterprise plans, connect your AWS VPC directly to ours for private network connectivity with no internet exposure.
AI and Data Privacy
Your database schema and query results are sent to the LLM provider (OpenAI or Anthropic) only during the query translation step. We use enterprise API agreements with both providers that guarantee:
- Your data is not used to train models.
- Your data is not logged or stored by the provider beyond the API call.
- All API traffic is encrypted with TLS.
On the self-hosted plan, you can use your own API keys or run a local model, ensuring data never leaves your infrastructure.
Compliance
AI for Database is built on a compliance-ready architecture and undergoes annual penetration testing. Formal compliance certifications are available for enterprise clients. We support:
- GDPR -- data processing agreements available
- HIPAA -- BAA available on Enterprise plans
- CCPA -- designed to meet California privacy requirements
Ready to try this on your own database?
Connect in minutes and ask your first question — no SQL required.
Start freeFree plan · No credit card required