How-tos
Encrypting files for storage or transportation
If you have suggestions on how to improve this document, or find mistakes, please send them to labman.gw@uu.nl
If you work with sensitive of private information and you need to move your files from one location to another, you are obliged to do so in a safe manner.
Within the lab, we offer access to project folders to exchange data with people who have permission to see the data only. However, sometimes you will need to move data between different machines outside the lab, without access to internet, or to the project folders. In that case, you may use a USB flash drive.
If you use a USB drive, we advice to encrypt the data, so only you have access to it, even if you accidentally lose the flash drive that has all the data on it. This way, no one else can view the data.
This tutorial uses 7zip, a free compression tool, to encrypt the data. To encrypt the data, 7zip needs to be installed on the machine you want to encrypt the data on. To view or decrypt the data later, you need 7zip on the machine you are going to view the data on. You can download 7zip here. These instructions only work when 7zip is installed.
If you borrow a USB flash drive from the lab, these instructions will be attached to the USB drive.
- Open the file explorer
- Navigate to the file or folder you wish to encrypt
- Right click the file or folder you wish to encrypt
- Click 7zip –> Add to archive
- Archive format: 7z
- Compression: Store
- Enter password (twice) in the Encryption field
- Click Encrypt file names (otherwise, people without a password can still browse the file list)
- Do not forget the password you entered
- Click Ok
- Open the file browser
- Navigate to the file or folder you wish to encrypt
- Right click the file or folder you wish to encrypt
- Click Compress
- Select .7z as the extension (on the right of the file name)
- Select the save destination for your encrypted file as the location
- Open other options
- Enter a password
- Make sure Encrypt the file list too is selected
- Do not forget the password you entered
- Click Create
For opening: Double click the .7z file. 7zip now asks for a password. Enter the password to view the files.
For extracting / decrypting:
- Right click the encrypted file
- Click 7zip –> Extract files
- Enter password and select a location where to extract the files to
- Double click the file
- Enter your password
- Click Extract