Securing Confidential Files
It is frequently important to protect the contents of a file to ensure it remains confidential. For example, if you wish to securely share a document via an attachment on an email message, the file contents must be encrypted to prevent the file from being accessed if it is forwarded or saved to a public location. The following is a list of methods you can securely store and share documents which are sensitive or confidential, and this requires encryption.
There are two important points to remember with file encryption.
- It is vital you do not transmit the encryption password via the same method as the encrypted data. You should use another method to provide the password to the recipient. For example, if you are sending an encrypted file via email, you can send the password in a paper-based letter, or tell it to the recipient on the phone.
- Do not lose your password (encryption key). If you do, the files encrypted will not be accessible any longer.
Using Microsoft Office
Windows |
The currently supported versions of Microsoft Office for Windows can encrypt a file using strong encryption. Versions prior to Office 2007 only used very weak encryption which can easily be bypassed and should not be used. Microsoft |
---|---|
Mac |
Microsoft |
Using PDFs
Encrypted PDF files can be a good method for transmitted and storing data. Encrypted PDF files can be read with most PDF readers, including Adobe Reader. Below are various methods for creating a PDF protected by a password.
Microsoft Word |
1. Create your document or open an existing PDF document using Word 6. You will be prompted to type in the password twice and then click OK: |
---|---|
Adobe |
Adobe |
Nuance |
Nuance Power PDF is the supported PDF tool at the University of Regina. Nuance provides guidance on how to create an "Open password " so that the document can not be viewed without the password: Microsoft |
Pdftk |
Pdftk Server is a free set of Once installed, you can encrypt a PDF file with the following terminal command: Note: Replace file names and password as appropriate. |
Using Encrypted Zip Files
Zip files
Windows |
On most managed computers, zip files can be created and read with the software 7-Zip. The program can be should already be installed on managed systems. On unmanaged or To create an encrypted zip file with 7-Zip:
You will now find a new file with a .zip extension in the same folder as the original file. The contents of this zip file can be accessed only with knowledge of the password. |
---|---|
Mac |
One option for secure zip encryption on Mac OS X is to use iZip, which is a free download: To create an encrypted zip file with iZip:
|
Linux |
The following instructions are based on Ubuntu 14.04. Other Linux distros may be similar but not identical. You can use p7zip (a Linux command line version of 7-Zip on Windows) to create encrypted zip files. You can install p7zip with the following terminal command: sudo apt-get install p7zip-full Once p7zip is installed, encrypted zip files can be created with the following terminal command: 7za a -y - You will be prompted to enter a password for your encrypted zip file, which will then be saved to your current location in the terminal. You can see a list of all available commands and switches in p7zip with the following terminal command: 7za - |
Tools such as VeraCrypt can encrypt a single file or a file container. See the resources page on File Encryption with VeraCrypt.