<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<feed xmlns="http://www.w3.org/2005/Atom"  xml:lang="en-gb">
	<title type="text">HappyMac™ - Knowledge Base</title>
	<subtitle type="text">HappyMac™ 
We Know Macintosh
HappyMac provides Macintosh systems support, networking and business IT services serving Knoxville, TN and area since 1994</subtitle>
	<link rel="alternate" type="text/html" href="https://www.happymac.info"/>
	<id>https://www.happymac.info/cms/knowledge-base.feed</id>
	<updated>2026-11-23T00:38:37+00:00</updated>
	<author>
		<name>HappyMac</name>
		<email>mmadmin@metamedia.us</email>
	</author>
	<generator uri="https://www.joomla.org">Joomla! - Open Source Content Management</generator>
	<link rel="self" type="application/atom+xml" href="https://www.happymac.info/cms/knowledge-base.feed?type=atom"/>
	<entry>
		<title>Joomla extensions update errors SOLVED</title>
		<link rel="alternate" type="text/html" href="https://www.happymac.info/cms/knowledge-base/128-joomla-extensions-update-errors-solved.html"/>
		<published>2019-04-23T15:26:17+00:00</published>
		<updated>2019-04-23T15:26:17+00:00</updated>
		<id>https://www.happymac.info/cms/knowledge-base/128-joomla-extensions-update-errors-solved.html</id>
		<author>
			<name>Christopher Gray</name>
			<email>cgray@metamedia.us</email>
		</author>
		<summary type="html">&lt;h3&gt;Package Update: There was an error installing an extension&lt;/h3&gt;
&lt;p&gt;Joomla is usually great when it comes to performing self-updates, but on occasion the error messages don't provide enough information to remedy the problem. This trick will give you the full path to the problem file.&lt;/p&gt;
&lt;p&gt;Here is an example while trying to update Akeeba:&lt;/p&gt;
&lt;pre&gt;&lt;strong&gt;Warning&lt;/strong&gt;&lt;br /&gt;Joomla\Filesystem\File::delete: Failed deleting inaccessible file 01.basic.ini&lt;br /&gt;Package Update: There was an error installing an extension: com_akeeba-core.zip&lt;br /&gt;Before updating ensure that the update is compatible with your Joomla! installation. &lt;br /&gt;You are strongly advised to make a backup of your installation before you start updating.&lt;/pre&gt;
&lt;p&gt;So where exactly is this mystery file and what do I do about it?&lt;/p&gt;
&lt;h3&gt;Tracking it down&lt;/h3&gt;
&lt;p&gt;I searched the site to find where the exception was being thrown:&lt;/p&gt;
&lt;div class=&quot;&quot;&gt;
&lt;pre&gt;&lt;span class=&quot;&quot;&gt;[root@www cms]# grep -rnw '/var/www/&lt;a class=&quot;&quot; href=&quot;http://www.metamedia.us/cms'&quot;&gt;www.mysite.com'&lt;/a&gt; -e 'Failed deleting inaccessible file'&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;&quot;&gt;/var/www/&lt;a class=&quot;&quot; href=&quot;http://www.metamedia.us/cms'&quot;&gt;www.mysite.com&lt;/a&gt;&lt;a class=&quot;&quot; href=&quot;http://www.metamedia.us/cms/libraries/vendor/joomla/filesystem/src/File.php&quot;&gt;/libraries/vendor/joomla/filesystem/src/File.php&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;&quot;&gt;126&lt;/span&gt;&lt;span class=&quot;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;&quot;&gt; throw new FilesystemException(__METHOD__ . ': &lt;/span&gt;&lt;span class=&quot;&quot;&gt;Failed deleting inaccessible file&lt;/span&gt;&lt;span class=&quot;&quot;&gt; ' . $filename);&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Now I know exactly where this error is occurring.&lt;/p&gt;
&lt;h3&gt;Improving the error message&lt;/h3&gt;
&lt;p&gt;Here's the function throwing the exception:&lt;/p&gt;
&lt;pre&gt;&lt;span class=&quot;&quot;&gt;public static function delete($file)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;  {&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                $files = (array) $file;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;          foreach ($files as $file)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                {&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        $file = Path::clean($file);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        $filename = basename($file);   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        if (!Path::canChmod($file))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        {&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                                throw new FilesystemException(__METHOD__ . ': Failed deleting inaccessible file ' . $filename);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        // Try making the file writable first. If it's read-only, it can't be deleted&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        // on Windows, even if the parent folder is writable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        @chmod($file, 0777);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        // In case of restricted permissions we zap it one way or the other&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        // as long as the owner is either the webserver or the ftp&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        if (!@ unlink($file))&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        {&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                                throw new FilesystemException(__METHOD__ . ': Failed deleting ' . $filename);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        }&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                return true;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;        } &lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;&quot;&gt; &lt;/div&gt;
&lt;div class=&quot;&quot;&gt;&lt;span class=&quot;&quot;&gt;The full file path is available right there, so I simply changed the variable from $filename to $file :&lt;/span&gt;&lt;/div&gt;
&lt;pre&gt;throw new FilesystemException(__METHOD__ . ': Failed deleting inaccessible file ' . $file);&lt;/pre&gt;
&lt;p&gt; So now my error is meaningful:&lt;/p&gt;
&lt;pre&gt;Warning&lt;br /&gt;Joomla\Filesystem\File::delete: Failed deleting inaccessible file /var/www/www.mysite.com/administrator/components/com_akeeba/BackupPlatform/Joomla3x/Config/Pro/01.basic.ini&lt;br /&gt;Package Update: There was an error installing an extension: com_akeeba-core.zip&lt;br /&gt;Before updating ensure that the update is compatible with your Joomla! installation. &lt;br /&gt;You are strongly advised to make a backup of your installation before you start updating.&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I kept getting errors when attempting to update the Extension, although permissions were correct the entire tree down.&lt;br /&gt;Keeping the Joomla extensions update page up,&lt;br /&gt;I eventually just:&lt;/p&gt;
&lt;pre&gt;&amp;gt; rm -rf /var/www/www.mysite.com/administrator/components/com_akeeba/&lt;/pre&gt;
&lt;p&gt;... and then the update went through with no problem.&lt;br /&gt;Didn’t have to reinstall.&lt;/p&gt;</summary>
		<content type="html">&lt;h3&gt;Package Update: There was an error installing an extension&lt;/h3&gt;
&lt;p&gt;Joomla is usually great when it comes to performing self-updates, but on occasion the error messages don't provide enough information to remedy the problem. This trick will give you the full path to the problem file.&lt;/p&gt;
&lt;p&gt;Here is an example while trying to update Akeeba:&lt;/p&gt;
&lt;pre&gt;&lt;strong&gt;Warning&lt;/strong&gt;&lt;br /&gt;Joomla\Filesystem\File::delete: Failed deleting inaccessible file 01.basic.ini&lt;br /&gt;Package Update: There was an error installing an extension: com_akeeba-core.zip&lt;br /&gt;Before updating ensure that the update is compatible with your Joomla! installation. &lt;br /&gt;You are strongly advised to make a backup of your installation before you start updating.&lt;/pre&gt;
&lt;p&gt;So where exactly is this mystery file and what do I do about it?&lt;/p&gt;
&lt;h3&gt;Tracking it down&lt;/h3&gt;
&lt;p&gt;I searched the site to find where the exception was being thrown:&lt;/p&gt;
&lt;div class=&quot;&quot;&gt;
&lt;pre&gt;&lt;span class=&quot;&quot;&gt;[root@www cms]# grep -rnw '/var/www/&lt;a class=&quot;&quot; href=&quot;http://www.metamedia.us/cms'&quot;&gt;www.mysite.com'&lt;/a&gt; -e 'Failed deleting inaccessible file'&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;&quot;&gt;/var/www/&lt;a class=&quot;&quot; href=&quot;http://www.metamedia.us/cms'&quot;&gt;www.mysite.com&lt;/a&gt;&lt;a class=&quot;&quot; href=&quot;http://www.metamedia.us/cms/libraries/vendor/joomla/filesystem/src/File.php&quot;&gt;/libraries/vendor/joomla/filesystem/src/File.php&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;&quot;&gt;126&lt;/span&gt;&lt;span class=&quot;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;&quot;&gt; throw new FilesystemException(__METHOD__ . ': &lt;/span&gt;&lt;span class=&quot;&quot;&gt;Failed deleting inaccessible file&lt;/span&gt;&lt;span class=&quot;&quot;&gt; ' . $filename);&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Now I know exactly where this error is occurring.&lt;/p&gt;
&lt;h3&gt;Improving the error message&lt;/h3&gt;
&lt;p&gt;Here's the function throwing the exception:&lt;/p&gt;
&lt;pre&gt;&lt;span class=&quot;&quot;&gt;public static function delete($file)&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;  {&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                $files = (array) $file;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;          foreach ($files as $file)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                {&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        $file = Path::clean($file);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        $filename = basename($file);   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        if (!Path::canChmod($file))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        {&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                                throw new FilesystemException(__METHOD__ . ': Failed deleting inaccessible file ' . $filename);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        // Try making the file writable first. If it's read-only, it can't be deleted&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        // on Windows, even if the parent folder is writable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        @chmod($file, 0777);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        // In case of restricted permissions we zap it one way or the other&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        // as long as the owner is either the webserver or the ftp&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        if (!@ unlink($file))&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        {&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                                throw new FilesystemException(__METHOD__ . ': Failed deleting ' . $filename);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                        }&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;                return true;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;&quot;&gt;        } &lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;&quot;&gt; &lt;/div&gt;
&lt;div class=&quot;&quot;&gt;&lt;span class=&quot;&quot;&gt;The full file path is available right there, so I simply changed the variable from $filename to $file :&lt;/span&gt;&lt;/div&gt;
&lt;pre&gt;throw new FilesystemException(__METHOD__ . ': Failed deleting inaccessible file ' . $file);&lt;/pre&gt;
&lt;p&gt; So now my error is meaningful:&lt;/p&gt;
&lt;pre&gt;Warning&lt;br /&gt;Joomla\Filesystem\File::delete: Failed deleting inaccessible file /var/www/www.mysite.com/administrator/components/com_akeeba/BackupPlatform/Joomla3x/Config/Pro/01.basic.ini&lt;br /&gt;Package Update: There was an error installing an extension: com_akeeba-core.zip&lt;br /&gt;Before updating ensure that the update is compatible with your Joomla! installation. &lt;br /&gt;You are strongly advised to make a backup of your installation before you start updating.&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I kept getting errors when attempting to update the Extension, although permissions were correct the entire tree down.&lt;br /&gt;Keeping the Joomla extensions update page up,&lt;br /&gt;I eventually just:&lt;/p&gt;
&lt;pre&gt;&amp;gt; rm -rf /var/www/www.mysite.com/administrator/components/com_akeeba/&lt;/pre&gt;
&lt;p&gt;... and then the update went through with no problem.&lt;br /&gt;Didn’t have to reinstall.&lt;/p&gt;</content>
		<category term="Knowledge Base" />
	</entry>
	<entry>
		<title>Securely store files using encrypted disk images</title>
		<link rel="alternate" type="text/html" href="https://www.happymac.info/cms/knowledge-base/124-securely-store-files-using-encrypted-disk-images.html"/>
		<published>2018-10-23T17:55:10+00:00</published>
		<updated>2018-10-23T17:55:10+00:00</updated>
		<id>https://www.happymac.info/cms/knowledge-base/124-securely-store-files-using-encrypted-disk-images.html</id>
		<author>
			<name>Christopher Gray</name>
			<email>cgray@metamedia.us</email>
		</author>
		<summary type="html">&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/harddisklock.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;FileVault provides full-disk encryption to secure the contents of an entire hard drive. This ensures that all your files are safe from prying eyes, requiring your login password in order to decrypt and gain access. But sometimes this all-or-nothing encryption approach doesn't address all needs.&lt;/p&gt;
&lt;p&gt;Encrypted disk images allow you to store files on smaller, virtual drives, with their own unique passwords. This gives you more granular control than the all-or-nothing encryption approach of FileVault. You might want an encrypted disk image to restrict access to passwords or store confidential project documents.&lt;/p&gt;
&lt;p&gt;An encrypted disk image exists as a file on your hard drive. If you open the file, you are prompted to enter the password, then the image mounts in the file system akin to an external hard drive. It appears in Finder as a Device, along with your other hard drives, jump drives, and media. You can open, save, and move files to/from the mounted image just as if it were a physical disk. When you unmount or eject the image, the files are no longer accessible until the image is remounted.&lt;/p&gt;
&lt;h2&gt;Create Encrypted Disk Image&lt;/h2&gt;
&lt;p&gt;Encrypted disk images are created using Disk Utility. You can create an empty disk image and add data to it.&lt;/p&gt;
&lt;p&gt;Launch Disk Utility. It lives in the Applications/Utilities folder.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/01-disk-util-app.jpg&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;From the File menu, select New Image &amp;gt; Blank Image...&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/02-new-disk-image.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;In the next window, configure your disk image. You only need to make changes to the following fields:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Save as:&lt;/strong&gt; Enter a filename for the disk image,  then choose where to save it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tags&lt;/strong&gt;: add tags if necessary (optional)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Name:&lt;/strong&gt; This is the name that appears on your desktop and in the Finder sidebar, after you open the disk image.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Size:&lt;/strong&gt; Enter a size for the disk image. Too small and all your files might not fit. Too large and it takes up space on your physical hard drive.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Encryption:&lt;/strong&gt; Select 128-bit AES encryption
&lt;ul&gt;
&lt;li&gt;Why not 256-bit?
&lt;ul&gt;
&lt;li&gt;&quot;The key schedule for 256-bit keys is not as well designed as the key schedule for 128-bit keys.&quot; &lt;a href=&quot;https://blog.agilebits.com/2013/03/09/guess-why-were-moving-to-256-bit-aes-keys/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;To brute force 128 bit key would take 2,158,000,000,000 years on special-purpose hardware &lt;a href=&quot;https://crypto.stackexchange.com/questions/48667/how-long-would-it-take-to-brute-force-an-aes-128-key&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;128-bit is faster&lt;/li&gt;
&lt;li&gt;About &lt;a href=&quot;https://en.wikipedia.org/wiki/Advanced_Encryption_Standard&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;AES encryption&lt;/a&gt;  &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;You will be prompted to enter the password
&lt;ul&gt;
&lt;li&gt;Use a password not easily guessed and which is not used on web sites or other places where it could become known&lt;/li&gt;
&lt;li&gt;Do NOT save this password to your keychain, or else this disk may be mounted without re-entering the password&lt;/li&gt;
&lt;li&gt;If you accidentally add it to the Keychain, use the Keychain Assistant utility to remove the password&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/03-conf-image.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;This disk image will be created. You can quit Disk Utility.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/04-successful.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;br /&gt;How To Mount an Encrypted Disk Image&lt;/h2&gt;
&lt;p&gt;Navigate to where you saved the disk image and double-click on it.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/05-image-file.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Enter your password and the image will mount.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/06-enter-password.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/07-mounted.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;To unmount the image, so that it is not longer accessible, eject it.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/08-eject.jpg&quot; alt=&quot;&quot; /&gt; &lt;/p&gt;</summary>
		<content type="html">&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/harddisklock.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;FileVault provides full-disk encryption to secure the contents of an entire hard drive. This ensures that all your files are safe from prying eyes, requiring your login password in order to decrypt and gain access. But sometimes this all-or-nothing encryption approach doesn't address all needs.&lt;/p&gt;
&lt;p&gt;Encrypted disk images allow you to store files on smaller, virtual drives, with their own unique passwords. This gives you more granular control than the all-or-nothing encryption approach of FileVault. You might want an encrypted disk image to restrict access to passwords or store confidential project documents.&lt;/p&gt;
&lt;p&gt;An encrypted disk image exists as a file on your hard drive. If you open the file, you are prompted to enter the password, then the image mounts in the file system akin to an external hard drive. It appears in Finder as a Device, along with your other hard drives, jump drives, and media. You can open, save, and move files to/from the mounted image just as if it were a physical disk. When you unmount or eject the image, the files are no longer accessible until the image is remounted.&lt;/p&gt;
&lt;h2&gt;Create Encrypted Disk Image&lt;/h2&gt;
&lt;p&gt;Encrypted disk images are created using Disk Utility. You can create an empty disk image and add data to it.&lt;/p&gt;
&lt;p&gt;Launch Disk Utility. It lives in the Applications/Utilities folder.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/01-disk-util-app.jpg&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;From the File menu, select New Image &amp;gt; Blank Image...&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/02-new-disk-image.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;In the next window, configure your disk image. You only need to make changes to the following fields:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Save as:&lt;/strong&gt; Enter a filename for the disk image,  then choose where to save it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tags&lt;/strong&gt;: add tags if necessary (optional)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Name:&lt;/strong&gt; This is the name that appears on your desktop and in the Finder sidebar, after you open the disk image.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Size:&lt;/strong&gt; Enter a size for the disk image. Too small and all your files might not fit. Too large and it takes up space on your physical hard drive.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Encryption:&lt;/strong&gt; Select 128-bit AES encryption
&lt;ul&gt;
&lt;li&gt;Why not 256-bit?
&lt;ul&gt;
&lt;li&gt;&quot;The key schedule for 256-bit keys is not as well designed as the key schedule for 128-bit keys.&quot; &lt;a href=&quot;https://blog.agilebits.com/2013/03/09/guess-why-were-moving-to-256-bit-aes-keys/&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;To brute force 128 bit key would take 2,158,000,000,000 years on special-purpose hardware &lt;a href=&quot;https://crypto.stackexchange.com/questions/48667/how-long-would-it-take-to-brute-force-an-aes-128-key&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;128-bit is faster&lt;/li&gt;
&lt;li&gt;About &lt;a href=&quot;https://en.wikipedia.org/wiki/Advanced_Encryption_Standard&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;AES encryption&lt;/a&gt;  &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;You will be prompted to enter the password
&lt;ul&gt;
&lt;li&gt;Use a password not easily guessed and which is not used on web sites or other places where it could become known&lt;/li&gt;
&lt;li&gt;Do NOT save this password to your keychain, or else this disk may be mounted without re-entering the password&lt;/li&gt;
&lt;li&gt;If you accidentally add it to the Keychain, use the Keychain Assistant utility to remove the password&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/03-conf-image.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;This disk image will be created. You can quit Disk Utility.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/04-successful.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;br /&gt;How To Mount an Encrypted Disk Image&lt;/h2&gt;
&lt;p&gt;Navigate to where you saved the disk image and double-click on it.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/05-image-file.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Enter your password and the image will mount.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/06-enter-password.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/07-mounted.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;To unmount the image, so that it is not longer accessible, eject it.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.happymac.info/cms/images/stories/securely-store-files-using-encrypted-disk-images/08-eject.jpg&quot; alt=&quot;&quot; /&gt; &lt;/p&gt;</content>
		<category term="Knowledge Base" />
	</entry>
</feed>
