BLIND FILE

Blind File security whitepaper

How Blind File encrypts, stores, shares and deletes your files, written from the code that runs on blindfile.io. It covers what we protect, how, what our servers can still see, and the limits of the design.

1. Summary

Blind File is a file transfer service built so that the service itself cannot read what you send. Your browser encrypts each file with AES-256-GCM using a key it creates on your device. The key never reaches our servers: it travels to your recipient inside the share link, in the part after the # symbol, which browsers do not send to websites. Our servers store only encrypted data under a random name, then delete it when the link expires.

All cryptography uses the Web Crypto API built into modern browsers. We do not implement our own ciphers. The encryption code is published on GitHub, and the Security page on our site lets anyone check that the code their browser is running matches the published copy.

2. What we protect against, and what we don’t

Blind File is designed to keep file contents and file names private from:

It is not designed to protect against: a compromised sender or recipient device (malware, malicious browser extensions); anyone who obtains the full link, because the link contains the key; a modified version of the web app being served to you (see section 11); or the metadata listed in section 9.

  • Blind File, its operators and its servers.
  • Our storage and hosting providers (Cloudflare R2 and Cloudflare’s network).
  • Anyone who obtains a copy of our database or storage, for example in a breach.
  • Anyone watching network traffic (all connections use HTTPS, and the content is encrypted before it is sent).
  • Anyone who does not have the link (or, in "key separate" mode, the key).

3. Sending a file

Resuming: so an interrupted upload can continue after a crash or restart, the browser saves the upload’s key and progress in its own IndexedDB storage on your device. That record is never sent to us. It is deleted when the upload completes, and expired records are removed the next time the app loads.

  • Key: for every transfer the browser generates a new 256-bit AES key with crypto.subtle.generateKey. Keys are never reused across transfers.
  • Parts: the file is read in parts. The part size is chosen for the device and clamped by the server to between 5MB and 500MB, with at most 10,000 parts per file.
  • Encryption: each part is encrypted independently with AES-256-GCM using a fresh random 96-bit IV from crypto.getRandomValues. Each encrypted part is stored as [IV (12 bytes)] + [ciphertext] + [16-byte authentication tag].
  • Position binding: each part is sealed with additional authenticated data naming its position, "blindfile/chunk/v2|<index>|<total>". A part that is swapped, repeated, moved, or a file that is cut short fails authentication on download instead of producing a silently corrupted file.
  • File name and type: the original name, file type, folder listing (for folder sends) and format version are encrypted with the same key and stored as an opaque string. The server is told only the placeholder name "encrypted-payload.bin", and the stored object is named after a random ID ("<id>.bin") with the generic type application/octet-stream.
  • Where it runs: encryption happens in a dedicated Web Worker inside your browser tab. Encrypted parts are uploaded directly from your browser to Cloudflare R2 using short-lived pre-signed upload URLs. File data never passes through our application server.
  • Folders: a folder is first packed into a ZIP archive on your device, and that archive is then encrypted exactly like a single file.

4. How the key reaches your recipient

By default the share link looks like https://blindfile.io/download/<id>#<key>, where the key is 43 base64url characters (the 256-bit key). Web browsers keep the part of a URL after the # on the device: it is not included in requests to the server, and it is not sent in the Referer header to other sites. Our server therefore receives only the transfer ID.

When sending from a computer you can instead choose "Key separate". The link then contains no key, and you share the key through a different channel (for example, a phone call or a different app). The recipient pastes it into the download page. Anyone who intercepts only one of the two cannot open the file.

  • Because we never have the key, we cannot recover a lost link or reset access to a file.
  • When the recipient opens the link, the download page reads the key, keeps it only in that tab’s session storage (cleared when the tab closes), and removes it from the address bar and the tab’s history entry. Browsers may still record the address as it was first opened in their global history, so on a shared computer, clear the browser history or use a private window.

5. Receiving a file

  • The download page asks our server for the transfer’s public details (size, expiry, the encrypted metadata) and decrypts the file name in the browser.
  • The encrypted file is fetched in parts and decrypted in the browser. Large downloads on a computer are streamed to disk through a service worker on blindfile.io that is limited to a dedicated download path; smaller downloads on phones are decrypted in memory. Every part’s authentication tag is checked, and any tampering stops the download with an error.
  • Free links have a download limit. Starting a download takes one download atomically and returns a ticket signed by the server (HMAC-SHA-256) that is valid for 6 hours, so one download can make many range requests and survive retries. Requests for a capped file without a valid ticket are refused.

6. File Requests (Business)

File Requests let a Business user receive files from clients who have no account. The goal is that only the requester can open what clients send, not Blind File.

  • Owner keys: the owner’s browser generates an ECDH P-256 key pair. The private key is encrypted with AES-256-GCM under a key derived from the owner’s encryption passphrase using PBKDF2-HMAC-SHA-256 with 310,000 iterations and a 16-byte random salt. A second copy is encrypted the same way under a random 160-bit recovery code generated in the owner’s browser. Our server stores only the public key and the two encrypted copies of the private key.
  • Request links: a request link looks like https://blindfile.io/request/<id>#<public key>. The upload page compares the public key in the link with the one our server returns and refuses to continue if they differ, or if the link has no key at all. The server therefore cannot silently substitute its own key.
  • Client side: the client’s browser generates a new random 256-bit file key and encrypts the file exactly as in section 3. It then seals the file key, and separately the client’s name and email, to the owner’s public key: a fresh ephemeral ECDH P-256 key pair is generated for each seal, the ECDH shared secret is turned into an AES-256-GCM key with Web Crypto’s deriveKey, and the data is encrypted with a random IV. The server stores only these sealed blobs.
  • Opening: in the owner’s inbox, the browser unlocks the private key with the passphrase (or recovery code), opens each sealed file key and contact, and decrypts the files locally.
  • Not encrypted: the request’s label and branding (shown to clients), and which request each upload belongs to.
  • If the owner loses both the passphrase and the recovery code, files sealed to that key cannot be recovered by anyone.

7. BlindText messages

Important: a BlindText is only as strong as its password. Anyone who has the link can download the encrypted message and try passwords on their own computer. Use a long, random password and send it through a different channel from the link.

  • The message is encrypted in the browser with AES-256-GCM. The key is derived from a password the sender chooses, using PBKDF2-HMAC-SHA-256 with 600,000 iterations and a 16-byte random salt. (Messages created before December 2026 used 100,000 iterations; their links are marked with the older version and still open.)
  • The link carries only the salt (after the #). The password is never put in the link and never sent to us; the sender shares it separately.
  • Every BlindText can be opened at most 5 times, whatever the sender’s plan, and expires on the same schedule as file sends (48 hours on free plans). A mistyped password does not use up an opening: the encrypted message is fetched once per page and retried locally.

8. Phone ZIP mode

iPhones cannot reliably stream very large downloads through a browser. For files over 500MB, the sender can choose an optional mode that produces a password-protected ZIP the iOS Files app opens natively.

  • The ZIP is created and encrypted on the sender’s device with ZipCrypto (the traditional ZIP password encryption), using a random 24-byte password generated on the device, or one the sender sets.
  • Inside the ZIP, the file is renamed "blindfile_content" plus its original extension. The server is told only "encrypted-archive.zip".
  • ZipCrypto is much weaker than AES-256-GCM and has well-known attacks, particularly when part of the content is known in advance. The file extension inside the ZIP is also visible to anyone holding the archive. We keep this mode only because nothing stronger opens natively on iPhone; use the standard mode on a computer for sensitive files.

9. What our servers can see

Zero-knowledge covers file contents and names. To run the service, our servers do hold some information about each transfer:

InformationWhat we hold
File contentsEncrypted data only. We cannot read it.
File name, type, folder contentsEncrypted with your file key. We cannot read them.
File sizeYes, the exact size in bytes. It is needed to plan the upload and enforce plan limits.
TimesWhen the transfer was created and completed, and when it expires.
AccountIf you are signed in, the transfer is linked to your account and plan. Guest transfers have no account.
DownloadsHow many times a capped link has been downloaded.
IP addressSeen at request time by Cloudflare’s network and our API, as with any website. Our app stores only a shortened keyed hash (HMAC) of it inside rate-limit counters, which are deleted when each counter’s time window ends.
Email addressOnly if you ask to be emailed when a transfer is downloaded. It is deleted with the transfer. Names and emails of File Request clients are sealed to the owner’s key and unreadable to us.
AnalyticsCloudflare Web Analytics, which counts page views without cookies. It does not record the part of the link after the #.

10. Expiry and deletion

Even if encrypted data were to remain somewhere longer than intended, it cannot be read without the key, which we never had.

  • Every transfer has an expiry: 48 hours on free plans, 1 to 30 days chosen by the sender on paid plans, and 1 to 30 days per link for File Requests.
  • When a capped link’s last allowed download starts, its expiry is brought forward to 6 hours later, so the file is removed soon after its final download.
  • An hourly cleanup job deletes expired files from storage and then their database records, and aborts unfinished uploads. A record is only removed once its stored data has been deleted.
  • As a backstop, storage rules delete any object older than 31 days and any upload left unfinished for 7 days.
  • Signed-in senders can delete a live transfer early from their profile.

11. Trusting the web app

Blind File runs in your browser, which downloads the app’s code from blindfile.io on each visit. This is the main limitation of any browser-based encryption service: if our server were compromised or compelled to serve modified code, that code could capture keys before encryption. We cannot make this risk disappear, so we make it visible:

  • The encryption code is built into separate files. On every deploy, an automated job publishes its source and the exact compiled files, with their SHA-256 fingerprints, to a public repository: github.com/BlindFile/blindfile-encryption.
  • The Security page fingerprints the encryption files your browser actually loaded and compares them with the published list. Because that check itself runs in code served by our site, the page also explains how to compare the fingerprints yourself with your browser’s developer tools, which does not rely on us.
  • A Content Security Policy blocks injected inline scripts and limits where the page can send data; the site cannot be framed by other sites; and HTTPS is enforced with HSTS.

12. Implementation notes

  • All encryption, key generation, key derivation and hashing use the browser’s Web Crypto API (crypto.subtle). Random values come from crypto.getRandomValues.
  • Encryption and decryption run entirely in the browser. Our servers handle accounts, limits, pre-signed storage URLs, expiry and deletion, and never receive file keys.
  • The encryption functions have automated tests, which are published with the source.

13. Known limitations and future work

  • No independent security audit has been completed yet. We intend to commission one and will publish the results.
  • File sizes, timestamps and account links are visible to us (section 9).
  • A browser may keep the originally opened link, including the key, in its global history (section 4).
  • BlindText strength depends on the password the sender chooses (section 7).
  • Phone ZIP mode uses the weaker ZipCrypto cipher (section 8).
  • Browser-delivered code must be trusted on each visit (section 11).

14. Reporting a security issue

If you find a vulnerability, email [email protected]. Contact details are also in blindfile.io/.well-known/security.txt. A person reads every report. Please give us reasonable time to fix an issue before disclosing it publicly.

Send a file · See pricing · Test our encryption