Use a disk as your unit of isolation
A disk is Archil’s unit of access isolation. Credentials — whether disk tokens or IAM authorization — are scoped to an entire disk, including all of its branches and checkpoints. Anyone who can mount a disk can read everything on it, and POSIX permissions are not a security boundary between untrusted users. So when you need to keep workloads or customers from accessing each other’s data:- Give each tenant its own disk (or set of disks) rather than sharing one disk across tenants, and issue per-tenant, disk-scoped disk tokens.
- Don’t use branches as a security boundary. A branch is an alternate history of the same disk, not an isolated disk — it shares the parent disk’s credentials.
- Don’t rely on POSIX permissions to separate untrusted tenants on a shared disk.