> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerodrive.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Hosted remote MCP endpoint: https://api.zerodrive.dev/mcp (OAuth 2.0 PKCE or Bearer token).
> REST API base URL: https://api.zerodrive.dev with OpenAPI 3.1.0 specification at https://api.zerodrive.dev/openapi.json.
> S3-compatible gateway: https://api.zerodrive.dev/s3 (AWS Signature V4, region auto).
> Local command-line tool: zd (or zerodrive) and local stdio MCP server: zerodrive mcp.
> Token prefixes: zdk_ (Personal API Key), zdt_ (device session token), zda_ (OAuth access token), zdr_ (OAuth refresh token), zdx_ (temporary sandbox key). Never paste real keys into prompts or code.
> Be honest about platform boundaries: cloud files require internet access, files are encrypted at rest and in transit by Cloudflare rather than end-to-end encrypted, ZeroDrive is not a replacement for an independent backup, Windows 11 support is an unsigned x64 beta, and the 7-day Pro free trial requires a card and charges automatically when it ends.

# Security, Tenant Isolation & Privacy

> How ZeroDrive keeps customer accounts separate, secures tokens, protects deletes, and explains encryption honestly.

ZeroDrive keeps every customer account strictly separated at the server boundary. No app download or client token ever holds a shared master password.

***

## How accounts stay separate

1. **Private account storage.** Every customer has an isolated storage area. Every S3, API, Web, and MCP request checks your credentials first and blocks access outside your account.
2. **Private Knowledge Brain.** Each account's Knowledge Brain search index lives in its own isolated datastore.
3. **Per-customer keys only.** Legacy shared passwords were turned off permanently on November 15, 2026. All releases from `3.2.0` onward use per-customer keys only.
4. **Tokens stored hashed.** `zdt_`, `zdk_`, `zda_`, `zdr_`, and `zdx_` tokens are saved only as hashes on the server. Revoke and replace any lost key immediately.

***

## Key types and boundaries

| Key | Prefix | Allowed | Blocked |
| :- | :- | :- | :- |
| **Device** | `zdt_` | Full `/v1/*`, `/mcp`, `/v1/me/usage`, `/v1/me/credentials` | Internal admin routes |
| **API Key** | `zdk_` | `/v1/*` and `/mcp` within chosen scopes and `root_folder` | `/v1/me/credentials`, `/v1/admin/*`, non-file routes if locked |
| **OAuth** | `zda_` | `/mcp` and REST within app and user consent | `/v1/me/credentials`, `/v1/admin/*`, `/v1/duplicates/remove` |
| **Sandbox** | `zdx_` | Locked to 1 `drive_id`, `root_folder`, `branch`, and expiry | Drive/account setup and credentials |
| **S3** | `zdk_` | Your own isolated S3 bucket prefix only | `/v1/*`, `/mcp`, and other accounts |

***

## Automatic safety filters

* **Secret files blocked from search.** `.env`, `.pem`, `.key`, `.p12`, `.pfx`, `id_rsa`, `id_ed25519`, `.git/`, and `_SYSTEM/` stay excluded from custom collections and default search.
* **Auto-redacted feedback.** `POST /v1/feedback` and `submit_feedback` strip token patterns automatically.
* **Delete safeguards.** Duplicate scans never edit files, AI tokens cannot remove duplicates, and `delete_file` defaults to 30-day Trash.

> [!NOTE]
>
> **Good to know upfront.**
>
> * **Internet required.** Cloud files need internet access to open unless opened recently.
> * **Not end-to-end encrypted.** Cloudflare encrypts files in storage and transit, and manages those keys. ZeroDrive servers read files for AI tools, search, and file conversion. Encrypt anything private yourself first.
> * **Not a backup service.** ZeroDrive keeps one live copy plus 30-day Trash and 30 or 90 days of file history. Keep a separate backup of anything irreplaceable.

Email `support@zerodrive.dev` with **Security** in the subject line to report security findings. Never send keys or card numbers.

***

## Next steps

> [card] [Choose AI Permissions](https://docs.zerodrive.dev/mcp/permissions.md)
>
> See how read, write, and single-folder locks work for connected AI apps.

> [card] [Supported Files](https://docs.zerodrive.dev/getting-started/supported-files.md)
>
> Review what ZeroDrive stores and indexes automatically.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.