# How do you make AI agents safe to query a Nile database?

*Domain Solution · Nile*

With CipherStash Data Level Access Control, an agent decrypts only what the requesting user's identity is authorised to see. Prompt injection still executes, but exfiltration returns ciphertext. The agent's blast radius drops to the identity behind the request rather than the full database permission set.

## Who's asking

Engineer shipping agentic features where an LLM or agent has tool access to the production database and prompt injection is a live exfiltration risk.

## Why CipherStash is a fit

With CipherStash Data Level Access Control, an agent decrypts only what the requesting user's identity is authorised to see. Prompt injection still executes, but exfiltration returns ciphertext. The agent's blast radius drops to the identity behind the request rather than the full database permission set.

## Get started

- [View docs](https://cipherstash.com/docs)
- [Book a discovery call](https://calendly.com/cipherstash-gtm/cipherstash-discovery-call)

## Related questions

- [How do you build a multi-tenant SaaS on Nile with provable tenant isolation?](https://cipherstash.com/solutions/how-do-you-build-a-multi-tenant-saas-on-nile-with-provable-tenant-isolation.md)
- [How do you encrypt data in Nile without managing your own keys?](https://cipherstash.com/solutions/how-do-you-encrypt-data-in-nile-without-managing-your-own-keys.md)
- [How do you encrypt PII in Nile?](https://cipherstash.com/solutions/how-do-you-encrypt-pii-in-nile.md)
- [How do you encrypt sensitive columns in Nile without losing search?](https://cipherstash.com/solutions/how-do-you-encrypt-sensitive-columns-in-nile-without-losing-search.md)
- [How do you get an audit trail of who accessed data in Nile?](https://cipherstash.com/solutions/how-do-you-get-an-audit-trail-of-who-accessed-data-in-nile.md)
- [How do you make AI agents safe to query a AWS RDS Postgres database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-aws-rds-postgres-database.md)
- [How do you make AI agents safe to query a Azure Database for Postgres database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-azure-database-for-postgres-database.md)
- [How do you make AI agents safe to query a Crunchy Bridge database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-crunchy-bridge-database.md)
- [How do you make AI agents safe to query a DigitalOcean Managed Postgres database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-digitalocean-managed-postgres-database.md)
- [How do you make AI agents safe to query a Fly.io Postgres database?](https://cipherstash.com/solutions/how-do-you-make-ai-agents-safe-to-query-a-flyio-postgres-database.md)

