Put a 4 GB screen recording in a Cloudflare R2 bucket, open the bucket in Finder through Allmount, and double-click the file. QuickTime starts playing in a moment, and you can scrub to the middle. At no point did your Mac download 4 GB.
(The Finder drive is part of Allmount Pro and arrives with the App Store release. The Mac beta that testers use today does not include it yet. This post describes how it works in that build.)
This post walks through how that works. There is no trick server in the middle, no sync daemon copying your bucket, and no kernel extension. It is three ordinary pieces lined up carefully: Apple’s own framework for cloud drives, HTTP range requests, and request signing done on the device.
A drive with nothing on it
Allmount’s Finder drive uses the same system framework that cloud drives on macOS use to show remote files in Finder. Allmount tells macOS what exists (names, sizes, dates, folders) and macOS draws it. The files themselves are dataless until something reads them. That is why a mounted bucket with 500 GB in it takes no space on your disk.
When an app opens a dataless file, macOS asks Allmount for the contents. The simple version of that request is “give me the whole file”. For a 4 GB video that is the wrong answer: you would wait for the full download before the first frame.
Ask only for the bytes being read
On macOS, a cloud drive can also adopt partial content fetching. Instead of “give me the file”, the system says “an app is reading this range, give me at least these bytes, aligned to this boundary”. A video player reading the header gets the first few megabytes. Scrub to minute 40, and the player reads from an offset deep in the file, so the system asks for that range instead.
Allmount answers each of those requests like this:
- Send a
HEADrequest for the object to learn its current size and version. - Round the requested range outward to the alignment the system asked for, and clamp it to the object’s size.
- Send a
GETwith aRange: bytes=start-endheader, so the storage provider returns only that slice. - Write the slice into a sparse file that has the full size of the object, at its real offset, and hand that file back to the system along with the range it covers.
The sparse file is the detail that makes it work. To the reading app, the file is the right size and the bytes it asked for are exactly where they should be. The rest of the file simply has not been fetched yet.
One defensive branch matters. A few S3-compatible servers ignore the Range header and send the whole object with a 200 instead of a 206. When that happens, Allmount accepts the full body and reports the whole file as fetched rather than pretending it got a slice.
Before any fetch, Allmount also checks free disk space. If a download would leave less than 2 GB free, it stops instead of filling your disk.
Signing every request on the device
S3-style storage authenticates each request with a signature computed from your secret key. Allmount computes it on your device, for every request.
The process is the same for every request, including each range read:
- Build a canonical form of the request: method, path, query, the headers being signed, and a hash of the payload. For downloads, the payload is declared as unsigned, which the protocol allows.
- Hash that canonical request with SHA-256 and combine it with the timestamp and a credential scope (date, region, service).
- Derive a signing key from your secret through a chain of HMAC-SHA256 steps, then sign.
- Send the result in the
Authorizationheader.
Your secret never leaves the device in any form, and it never passes through us, because there is no “us” in the path. The request goes from your Mac straight to your provider. Access keys are stored in the Keychain with this-device-only protection, so they do not sync to iCloud, and secrets are redacted from logs.
The same signer produces presigned URLs for Pro’s share links. A presigned URL carries the signature in its query string with an expiry, so the link works for one hour, one day or seven days, and then stops, with nothing for us to revoke.
What stays on disk
Fetched bytes are a cache, not a copy you have to manage. Right-click a file in Finder and choose Remove Download, and the local bytes go away while the file stays in your bucket. macOS can also reclaim that space on its own when the disk gets tight. Files you have opened recently keep working offline until then; anything you never opened needs a connection.
Changes made outside Allmount, say an upload from a script, show up in Finder within about a minute while Allmount is the app in front, or within five minutes when it is not, because Allmount checks the bucket for changes and reports them to Finder.
The iPhone is different on purpose
On iPhone and iPad, Allmount appears as a location in the Files app. iOS does not offer the partial fetch path there, so opening a file downloads it fully before the app you chose can read it. A large video takes longer to open on an iPhone than on a Mac. We say that plainly on the product page rather than hide it.
Why not a network mount or a sync folder
Two other designs come up often. A mounted network file system needs a kernel extension or a third-party file system layer, which macOS increasingly discourages and which runs outside the app sandbox. A sync folder copies your bucket to disk, which is exactly what we wanted to avoid for buckets measured in hundreds of gigabytes.
Apple’s framework gives us Finder integration, a sandboxed and hardened app, and a system-managed cache, with no extra software installed. Range requests and an on-device signer do the rest.
That is the whole mechanism behind the 4 GB clip. It works the same for R2, Amazon S3, Backblaze B2, Wasabi, DigitalOcean Spaces, Hetzner, Scaleway, Google Cloud Storage through S3 interop, Oracle Object Storage, MinIO and any custom S3 endpoint. Allmount runs on macOS 26 and iOS 26. The Mac beta is available to testers on request from allmount.twistorlabs.com, and the App Store release for Mac and iPhone is in progress. Questions about any of this reach us at allmount@twistorlabs.com.
The Twistor Labs team