How To: Create an Encrypted Zip Archive in Mac OS X and Windows

Create an Encrypted Zip Archive in Mac OS X and Windows

How to Create an Encrypted Zip Archive in Mac OS X and Windows

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.

Mac OS X (Option 1)

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.

Mac OS X (Option 2)

The other option in OS X is to create a disk image. To do this, open the Automator program and select Service.

Image via apple.com

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 via com.com

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.

Microsoft Windows

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.

Image via oraxcel.com

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.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest