this post was submitted on 14 Jan 2022
8 points (90.0% liked)

Open Source

32665 readers
1139 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I want to store files on my server to avoid google cloud and other services.

I'm looking for FOSS software.

I want all the files to be encrypted client side with a masterpassword via an app or a web interface, the server must not have access to them.

An included android app for uploading and downloading would be nice.

I guess what I'm looking for is some kind of FTP server?

top 22 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 3 years ago
[–] [email protected] 4 points 3 years ago

If you're wanting to self-host a cloud service, then Nextcloud is second to none. You can use NextCloud together with Cryptomator for easy client-side encryption, but If you need automatic syncing look into rclone instead.

If you are planning to use this for backups, check out borg backup and vorta(easy to use GUI for borg).

[–] [email protected] 3 points 3 years ago

You could use software like Cryptomator and upload it to a Nextcloud.
Because Nextcloud is way more than just a file vault, you may want to use something more lightweight, like Pydio or Seafile.

[–] [email protected] 2 points 3 years ago (1 children)

I would recommend https://cryptpad.fr/. All files are encrypted locally. You don't need a database.

[–] [email protected] 0 points 3 years ago

Yeah, this one also has a "crypt-drive" for file-storage. But I think it can only be accessed through the browser.

[–] [email protected] 1 points 3 years ago

I use a Synology, but I back it up to Backblaze encrypted with Rclone

[–] [email protected] 1 points 3 years ago* (last edited 3 years ago)

I'm using Seafile (https://www.seafile.com/en/home) for this exact use case.

[–] [email protected] 1 points 3 years ago
[–] [email protected] 1 points 3 years ago

I suppose you want protection from server compromise if you require client-side encryption. However, you should be mindful that if the code that encrypts your content is served by your server as part of a web interface, then an attacker can simply alter the code that is sent to your browser to leak your master password, or your files. If you want secure client side encryption, you cannot rely on a code that is served by your server either. You will need to install an app.

[–] [email protected] 1 points 3 years ago

Pydio is definitely worth checking out.

[–] [email protected] 1 points 3 years ago

Take a look at Duplicati, it can encrypt your files before upload and sync works pretty well

[–] [email protected] 0 points 3 years ago (1 children)

Nextcloud, but if you selfhost why do you need encryption?

[–] [email protected] 1 points 3 years ago (2 children)

because the server could be compromised

[–] [email protected] -2 points 3 years ago (1 children)

It's not easy as you may think, if you use a VPN, a secure router and follow common security practices for nextcloud, SSH and the like. If someone can access your server with those thing in place you would have a lot more to worry. IMHO a selfhosted nextcloud works better without encryption, without high risks. Of course if your threat model call for it, encrypt whatever you need, but common users are going to lose too much for nearly no gain

[–] [email protected] 1 points 3 years ago (1 children)

why would it work better without encryption? I don't see any loss in having client side encryption tbh. common security practices are cool but there are new security vulnerabilities everyday.

[–] [email protected] 1 points 3 years ago

Nextcloud encryption isn't perfect, and you will lose some functionality (e.g. image preview). You could think about encrypting only what you think is particularly sensible, with something like cryptomator

[–] [email protected] -2 points 3 years ago (2 children)

Could try setting up a VPN like Wireguard....

[–] [email protected] 1 points 3 years ago

A VPN provides absolutely no protection against a compromised server.

[–] [email protected] 1 points 3 years ago
[–] [email protected] 0 points 3 years ago* (last edited 3 years ago)
[–] [email protected] 0 points 3 years ago (1 children)

Another vote for Nextcloud from me.

[–] [email protected] 1 points 3 years ago

The official e2ee app of Nextcloud is not really great though. Otherwise yeah, solid choice for the most part, even if it has a lot of feature creep.