SeaFile - UFAL's private data cloud
- UFAL's Zimbra accounts (login format: UFAL e-mail address)
- internal SeaFile's user database for our partners without of Zimbra account (login format: e-mail address)
- 3TB of shared capacity (RAID5 protected)
- default personal quota limit is 5GB
- 1Gbps connectivity
- feel free to store any legal (!) content, even private
- web access or automatic backgroud Sync service in your Linux/Windows/Android/iOS system
- you can let the system to synchronize your private Cloud Library (Folder) on all your devices, even in multi-platform environment
- you can let it to synchronize selected Library for your team, everyone will have the same content available as you will update it (or as soon as they will hook up to the network)
- and more :) ...
- details at SeaFile website
- you can create encrypted Library (checkbox on a Library creation + encryption password definition box). Such Library can be used to store or share sensitive data (because of GDPR for example)
- web access: open https://storage.ms.mff.cuni.cz
- client based:
- install client sw for your platform: SeaFile client download and configure connector account
- Server: https://storage.ms.mff.cuni.cz
@ufal.mff.cuni.cz (or other e-mail address, registrated at UFAL's SeaFile database by UFAL IT dpt.)
- Password: your UFAL Zimbra collaboration system password (if you have UFAL Zimbra account of course)
- Help (including screenshots)
Details on encrypted libraries:
Creating over web interface
- login to web interface at https://storage.ms.mff.cuni.cz
- create new library
- check Encrypted
- enter password for encryption
- whenever you (or your collaborators) sync the library you will be asked for the password you entered
- encryption and decryption is done at the client side
- data are stored as encrypted data blocks at the server side
- local copy of the Library is not encrypted, if the local filesystem is not encrypted! You should use BitLocker, VeraCrypt or other similar tool to store replica of sensitive data only on encrypted storage! Other option is don't enable synchronization and access the data over the web interface or Seafile client window only. Examples can be found below!
- The encryption password is not stored on the server. So even the server administrator can't access your file contents.
When you access the encrypted library:
- If you use web app, you have to input the password to the server. The server will cache the password in encrypted format for 1 hour. It won't store the password on disk.
- If you use desktop client to sync the library, the password is not sent to the server. The client decrypt and encrypt file contents locally. The plain text password is not stored on the client disk too.
- iOS client supports client side encryption since version 2.1.6. Android client support it since version 2.1.0.
Note that encrypted library only encrypt the contents of the files, but not the folder and file names.
Local encrypted storage guide
If you have Windows 7 Ultimate, Windows 8 Pro or higher, you can use BitLocker to encrypt your system completely or at least you can create encrypted partition to store sensitive data and data synced from your encrypted Seafile Libraries. This way you will keep the data safe. There is almost no reason to encrypt data at the server side while they'd be unencrypted localy.
There is plenty of BitLocker tutorials - one can be found at https://www.windowscentral.com/how-use-bitlocker-encryption-windows-10
If you have older Windows system (or other platform like Linux or MacOS) you can use VeraCrypt solution https://www.veracrypt.fr/en/Home.html
VeraCrypt can help you by encrypting the partition, USB flash drive or to create an encrypted file containing the filesystem. I'll describe the last option is it fits our needs in case of Seafile encrypted Library replica storage. The following example is for Windows system:
- Download and Install latest VeraCrypt package: https://www.veracrypt.fr/en/Downloads.html
- Start VeraCrypt
- Click on "Create Volume"
- Select the 1st option - "Create an encrypted file container" and click Next
- Select "Standard VeraCrypt volume" and click Next
- Click "Select File", navigate to your Documents folder (for example) and fill-in "MySafe" into "File name" field. Select Save and then Next.
- The default at the "Encryption Options" are fine, you can click Next.
- Define size of your encrypted storage - it should correspond to the planned size of your encrypted Seafile Library. Select 250MB if you have no idea...you can remove this encrypted storage file and create larger one later if needed.
- Volume Password - this is important. The password should be of a high quality. Never write it anywhere in a clear form. It can be different then encrypted Library password (which is shared with all users of the Library and serves as a decryption password). Click Next.
- Now the system needs to generate encryption keys. To do that it needs some random activity. You should move your mouse pointer until the indicator line is green! Default filesystem options are fine if you don't plan to store and encrypt large files (GBs in size). If you do - select NTFS filesystem. Click Format and OK when finished.
- Click Exit (if you don't plan to create more encrypted storages at once).
- Now we will mount new encrypted virtual volume - use "Select file", locate the file created before (Documents/MySafe) and click Open.
- Select Drive letter you like by mouse click (S: as Safe or V: as VeraCrypt, E: as Encrypted...or any other unused.
- Click on Mount button.
- Fill-in the encrypted volume password to unlock/decrypt MySafe file and click OK.
- After a while the file is mounted and you can find new volume in My Computer / Windows Explorer or other filesystem browser.
- We have to change several settings to use this volume with a Seafile sync client comfortably...set it to be mounted automaticaly and change Seafile client settings to block automatic unsync in case of unavailable replication folder.
- Click on Favourites and select "Add mounted Volume to Favourites" in the VeraCrypt window.
- Mark checkbox by the "Mount selected volume upon logon" and click OK.
- Now right-click at the Seafile client icon in the indicator area and select Settings.
- Open Advanced tab, tag "Do not automatically unsync a library" and click OK.
- You can click Exit to close VeraCrypt configuration window.
- Now you can configure Seafile client to sync your encrypted library. Just click on a library (in the Seafile client window), select Sync and use new virtual drive as a local target directory - for example V:
- Done. You will be asked for a VeraCrypt volume password while logging to the system. Seafile client will show a warning before you unlock the volume as it can't see the local data ("Error when accesing the local folder").