Using Encrypted Disk Images in Mac OS 10: A Guide
If you want to keep a few files safe and locked away, but don't need full file encryption like FileVault, creating an encrypted disk image is a great way to do so. To get started, you'll need to use the Disk Utility app, which can be found in the Utilities folder within the Applications folder.
To access Disk Utility, open up a new Finder window and navigate to your hard drive. From there, go into the Applications folder and select Utilities, and then choose Disk Utility. Once opened, you'll see a simple interface with various options for creating and managing disk images.
One of the first things you'll need to do is select "New Image" from the top menu bar. This will allow you to create a new disk image file that can be used for encryption. You'll also have the option to give your image a title, which will be visible when you mount it in Finder. In this case, let's call our image "Disk".
Next, you'll need to choose the size of your disk image. Disk Utility allows you to select from a variety of sizes, including 100 megabytes, or custom sizes in kilobytes, megabytes, gigabytes, or terabytes. For this demo, we'll choose the default 100 megabyte size.
Once you've selected the size of your disk image, keep in mind that once it's created, you won't be able to change it. You also can't add files larger than 100 megabytes if you want to use a smaller size. Additionally, if you try to fill up the disk image with large files, you won't be able to add more files until you delete some of the existing ones.
Now that we have our disk image created, let's move on to the format section. This is where you can choose what type of file system you want to use for your encrypted disk image. Mac OS X supports a variety of formats, including UDRW, UDZO, UDRK, and ISO9660. If you plan on using your encrypted disk image across multiple computers, it's recommended to use the UDRW format.
However, if you're only going to be using this disk image on one computer, there are a few other formats you may want to consider as well. For example, you could choose a Read and Write format for quick access, or a Sparse Image that will grow over time as files are added to it.
Finally, let's select the encryption settings for our disk image. Here, you'll have two options: 128-bit AES encryption, which is recommended for general use, or 256-bit AES encryption, which is much more secure but also slower. Since we're just demoing this, we'll choose the 128-bit AES option.
Under Partitions, select Single Partition and then Master Boot Record partition map. This is the standard setting for disk images created using Disk Utility, and it's what you'll want to use unless you need to create an image for other purposes, such as booting a computer or creating a backup.
Now that we've set all of our options, select "Create" to begin creating your encrypted disk image. You'll be prompted to enter a password, which will be used to encrypt the data on your disk image. Keep in mind that this is not secure - you should never use a weak password like "password"! In this case, we'll just call it "Password", and uncheck the "Remember Password" checkbox so that our password won't be stored in the Keychain.
Once the disk image has been created, you can see it on your desktop as a new file called "Disk". If you open up a new Finder window, you should see the disk image mounted and ready to use. From here, you can drag files into the image, add more files, or delete existing ones. However, if you try to open the image directly in Finder without entering the password, it will prompt you for authentication.
To test this out, let's open up another Finder window and navigate to our encrypted disk image. If we try to open it without entering the password, we'll be prompted to do so. Once we enter the correct password, however, we can access all of the files within the disk image.