End-to-end encryption in the cloud: what is and isn’t protected?
End-to-end encryption mainly protects the content of files; metadata, sharing, search, previews and recovery need extra attention.
End-to-end encryption mainly protects the content of your files from the provider. Metadata such as names, sizes and times is often less well protected. Sharing, search, previews and recovery work differently, because the server cannot read the content.
Who is it for: Users who already know what end-to-end encryption is and want to understand what it does and doesn’t cover in everyday use.
What is protected and what isn’t?
With end-to-end encryption, the content of a file is encrypted on your device. The provider then only sees a series of unreadable data. That applies to the content, but not automatically to everything around it.
Metadata is data about your files: file name, folder structure, size, creation and modification dates, and sometimes who you share with and from which device. Providers differ greatly in how much of this metadata they encrypt. Even without the content, metadata can reveal a lot, for example when you are active or how many documents you keep.
The provider also sees data about your account, such as your email address, payment details and IP address. That falls outside file encryption.
Sharing, search and preview
Sharing is trickier with end-to-end encryption. The recipient also needs a key. This usually happens by including a key in the link or through an exchange between accounts. Find out how that key is passed on and whether the link itself already gives access without a password.
Searching within content normally requires the server to index the files. If the server can’t read anything, searching happens on your device or is limited to file names. The same applies to previews: they are then created locally, or they are missing. Collaborating online can be severely limited.
Also check whether a feature such as automatic organising or face recognition runs on your device or on the server. The latter is only possible if the server can read the content.
- Check whether sharing with a non-user is possible and how the key is then transferred.
- Test whether search and previews work for your file types.
- Find out whether these features run locally or on the server.
What happens if you lose your password?
With true end-to-end encryption, the key is derived from your password or stored on your device. The provider cannot retrieve it for you. That is exactly what provides the protection, but it also means that a forgotten password can be the end of your access.
Many services therefore offer a recovery key or recovery phrase. Store it offline and separately from your password, for example on paper in a safe place. Some services offer a recovery route via a trusted contact; that changes the trust model, so read how it works.
If a provider can help you get your files back without a recovery key, the encryption is not fully end-to-end. That isn’t necessarily wrong, but it is different from what may be promised.
How do you check what a service really does?
Look in the security documentation for a description of key management, key derivation and what is encrypted. An independent audit report can confirm that the implementation is sound, provided it covers the relevant components. The data processing agreement shows which data the provider processes and with which parties.
What is usually covered and what isn’t
| Component | Usually protected? | What to look for |
|---|---|---|
| Content of files | Yes, if end-to-end is switched on | Does it apply to all file types and plans? |
| File names and folders | Varies per service | Are they encrypted or readable on the server? |
| Sharing details and times | Often not, or partly | Who can see who you share with and when? |
| Searching in content | Limited or local | Works on your device or not |
| Previews and editing | Limited or local | Created locally or missing |
| Recovery if you lose your password | Often not possible without a recovery key | Store the key offline |
Who is it less suited for?
- People who rely heavily on searching documents or collaborating in the browser: those features are more limited.
- People who don’t want or can’t store a recovery key: a forgotten password can then mean files remain unreachable.
- People seeking anonymity: end-to-end encryption hides the content, but not the fact that you use the service.
Frequently asked questions
Is a link with a secret key in it safe?
That depends on how you send the link. Anyone who has the full link has access. Share it via a channel you trust and, where possible, use a password or an expiry date.
Can virus scans still work?
Only on your own device or if you have a file checked yourself. The server cannot scan encrypted files, so keep your own security software up to date.
Does this protect against an infected device?
No. If malicious software on your device is watching, it sees the files before they are encrypted or after you open them.
