Encrypt Your Group Files in the Cloud
[!toc] Table of Contents
Using a cloud to synchronize your files over devices or to collaboratively work on them as a group is very useful. The main downside is that no cloud solution offers secure, working end-to-end encryption per default, at least until know (2026).
Therefore, the easiest and safest method is to synchronize your cloud files with your device and to put your sensitive files inside an encrypted container inside the synced folder.
Tip
- Setup the Nextcloud Sync-Client
- Setup group permissions in Nextcloud
- Setup a Cryptomator vault inside your Nextcloud folder
Now that everyone of you has access to the encrypted folder you will have to share the password through a secure channel.
Potential issues
There may be issues, when two or more of you try to open, edit and save a file at the same time. If that happens so called “conflicts” appear, because the server doesn’t know which changes to accept first, or in which order.
[!technical] Technical
When you open a file in LibreOffice for example, there will be a file with the ending
.lockright next to the file you just opened. This small file will get synced to the cloud and from there to your friends devices. When they try to open the same file now, their programm sees the.lockfile and knows, that another program (on you device) is currently editing this file and therefore “locked” it up. The actual problems may arise, when the first person opens the file and before the.lockfile is being synced to you friends device, they open the file, too. So now both of you opened the file in editing mode. While this is completely fine in the browser, when using encrypted folders this can become part the issue described above.