Archive files are great for portability and saving space, but a lot of people don't know they can also be encrypted. There are a lot of archiver programs out there, but most of them can open a file that's been encrypted using other software, as long as you're using a recent version.
Here's how to do it in both Mac OS X and Windows.
There are two different methods for Mac users. The first uses the Apple Terminal. Open it up and type in the following command:
zip -e ~/Desktop/archive.zip
Then, drag the folder with the files you want to encrypt into the Terminal window. The command should look like this:
zip -e ~/Desktop/archive.zip /Path/to/folder
Now, just come up with a strong password and you're all set.
The other option in OS X is to create a disk image. To do this, open the Automator program and select Service.
Choose files or folders from the first drop-down menu, then select Finder as the program. Drag the New Disk Image into the workflow area, then select Size disk image to fit contents and check the box next to it marked Encrypt.
Set the name and location where you want the file to be saved and change the last option to Reveal Finder Items.
Image by Topher Kessler/CNET
Now, just save the workflow and it should become available in the Service menu. To use it to encrypt files, select the files and right-click, then choose your new disk image from the Services menu. Once you supply a password, it will encrypt them.
In Windows, the easiest way to encrypt an archive is to do it directly from a program like WinZip. All you have to do is select the files, open the Actions menu, and choose Encrypt. Then just choose what type of encryption you want and enter a good password.
You can also do this while you're creating the archive by checking the Encrypt added files box.
Don't use WinZip? Here's a guide to encrypting files in 7Zip. Once you've created the archive, you should be able to open it in a recent version of any archiver software.
Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.
Other worthwhile deals to check out:
- 97% off The Ultimate 2021 White Hat Hacker Certification Bundle
- 98% off The 2021 Accounting Mastery Bootcamp Bundle
- 99% off The 2021 All-in-One Data Scientist Mega Bundle
- 59% off XSplit VCam: Lifetime Subscription (Windows)
- 98% off The 2021 Premium Learn To Code Certification Bundle
- 62% off MindMaster Mind Mapping Software: Perpetual License
- 41% off NetSpot Home Wi-Fi Analyzer: Lifetime Upgrades