{
  "id": 22090544,
  "title": "How browser-side file encryption works (AES-256-GCM), and where it stops",
  "url": "https://urgent.news/2026/11/27/how-browser-side-file-encryption-works-aes-256-gcm-and-where-it-stops",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T01:35:49.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/tinyx/how-browser-side-file-encryption-works-aes-256-gcm-and-where-it-stops-a61"
  },
  "original_language": "en",
  "account": "TinyX's browser-side file encryption employs AES-256-GCM, a widely accepted standard for securing data. This encryption method uses a 256-bit key and the Galois/Counter Mode (GCM) for authentication, ensuring that the file remains secure even if the provider gains access to the encrypted file.\n\nThe encryption process takes place on the user's browser, meaning that the provider never receives the original file or the password/key. Instead, the provider only receives a unique verifier, which is generated by the browser using the file's password. This verifier is encrypted along with the file and sent to the provider.\n\nDespite the strong encryption provided by AES-256-GCM, there are certain limits to this design. For instance, the provider can still potentially open the file, either for preview or support reasons, as they possess the necessary decryption key. Furthermore, while each chunk of large files is independently authenticated, large files can be vulnerable to reordering or truncation attacks if more than 16 MiB are involved. Lastly, the provider can potentially access the filenames and file sizes in plaintext.",
  "summary": "Disclosure: we're the TinyX team and this post is about our own product. Everything below comes from what we publish on our features and security pages, and from how the product works today. Where a limit matters, we say so. \"Encrypted\" is one of the least useful words in file sharing. Almost every service encrypts files on disk and protects the connection with TLS. That stops someone stealing a…",
  "key_points": [],
  "editors_take": "Shifting encryption to the browser protects sensitive content from service providers but leaves metadata exposed and large files vulnerable to specific structural attacks.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}