How to Password Protect Files on a Mac

Download ArticleDownload Article

This How.com.vn teaches you how to create a password-protected disk image (DMG) folder on a Mac.

Part 1
Part 1 of 2:

Creating a Folder

Download Article
  1. How.com.vn English: Step 1 Open icon Finder.
    Click the Finder app icon, which resembles a blue face, in your Mac's Dock.
  2. How.com.vn English: Step 2 Click Desktop.
    It's on the left side of the Finder window.
    Advertisement
  3. How.com.vn English: Step 3 Click File.
    This option is in the upper-left corner of the screen. A drop-down menu will appear.
  4. How.com.vn English: Step 4 Click New Folder.
    It's in the File drop-down menu. Doing so will add a new folder to your Mac's desktop with the name field selected.
  5. How.com.vn English: Step 5 Enter a name for your folder.
    Type in the name that you want to use for your folder, then press Return.
    • The name that you use here doesn't really matter since you're going to rename the password-protected version of the folder.
  6. How.com.vn English: Step 6 Add files to the folder.
    Once you've created your folder, you can add the files which you want to password-protect to it by doing the following:
    • Go to the files' location.
    • Select files to move to the folder by holding down Command and clicking each file.
    • Press Command+X to copy and cut the files.
    • Open the folder that you created.
    • Press Command+V to paste in the files.
  7. Advertisement
Part 2
Part 2 of 2:

Adding the Password

Download Article
  1. How.com.vn English: Step 1 Open Disk Utility.
    Click Spotlight
    How.com.vn English: Mac Spotlight
    , type in disk utility, and double-click the Disk Utility result.
    • You can also find Disk Utility in the Utilities section of the Finder's Go menu item.
  2. How.com.vn English: Step 2 Click File.
    It's in the upper-left side of the screen. A drop-down menu will appear.
  3. How.com.vn English: Step 3 Select New Image.
    This is near the top of the File drop-down menu. Selecting it will prompt a pop-out menu to appear.
  4. How.com.vn English: Step 4 Click Image from Folder….
    It's in the pop-out menu. Doing so will open a new window.
  5. How.com.vn English: Step 5 Select the folder that you created.
    Go to the Desktop folder by clicking the drop-down box at the top of the window and clicking Desktop in the drop-down menu, then click your created folder.
  6. How.com.vn English: Step 6 Click Open.
    It's in the bottom-right corner of the window.
  7. How.com.vn English: Step 7 Enter a title for your folder.
    Type whatever you want to name your protected folder into the "Save As" text box.
    • You cannot use the same title as the folder that you created or any other folder on your desktop.
    • You can also select a save location by clicking the "Where" drop-down box and then selecting a folder in the drop-down menu.
  8. Step 8 Click the "Encryption" drop-down box.
    It's near the bottom of the window. Clicking it prompts a drop-down menu.
  9. How.com.vn English: Step 9 Click 128-bit AES encryption (recommended).
    You'll find this option in the drop-down box. Doing so opens the password window.[1]
  10. How.com.vn English: Step 10 Create a password.
    Type your preferred password into both the "Password" text box and the "Verify" text box, then click Choose in the bottom-right corner of the password window.
  11. How.com.vn English: Step 11 Click Save.
    It's a blue button at the bottom of the window. Doing so will save your settings and create your password-protected folder.
  12. How.com.vn English: Step 12 Use the password-protected folder.
    To open the folder, double-click it, then enter the password that you set for it when prompted. The folder will open, and a drive-shaped icon will appear on your desktop.
    • You may have to restart your Mac before the folder will ask for your password.
    • You can close and re-protect the folder by moving the drive-shaped icon into the Trash and then restarting your Mac.
  13. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How I can open the utility disk and see the hidden information?
    How.com.vn English: Community Answer
    Community Answer
    After hitting "eject," the disk image you created goes away. To reopen it, find that .dmg file that was created, and it will request you to enter the password. Then the disk image will reappear.
  • Question
    If I later move this map to an external source, USB or other hard-drive, will the map and files still be coded?
    How.com.vn English: Community Answer
    Community Answer
    Yes, they will. It works the same as a zip file. The only downside is that you can only open it on Macs. For Windows you will need additional software.
  • Question
    Why was another "operating drive" icon created on my desktop that I can't get rid of?
    How.com.vn English: Community Answer
    Community Answer
    The only reason for this would be that the computer recognized another drive, maybe a time machine backup drive? If not, this could be an SSD or a flash drive, or an SD card that may be in your computer. If this is the system drive duplicated, this would be a partition issue. To view the drives on a Mac, go to Spotlight (the search icon in the top right corner) then search for the app titled "Disk Utility." Here you can view all the drives you have active, and also preform first aid and corrections if a drive is improperly partitioned. If this is a time machine drive, navigate to the Time Machine app to manage these preferences.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • If asked whether or not you want to add your DMG folder's password to your Mac's Keychain, decline. This will prevent your Mac from automatically opening the folder without asking for the password.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      Advertisement

      About This Article

      How.com.vn English: Jack Lloyd
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for How.com.vn. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 509,085 times.
      How helpful is this?
      Co-authors: 15
      Updated: March 7, 2024
      Views: 509,085
      Categories: Mac
      Thanks to all authors for creating a page that has been read 509,085 times.

      Reader Success Stories

      • How.com.vn English: Mac User

        Mac User

        May 26, 2021

        "I followed the article's instructions and created a password-protected folder. After deleting the original..." more
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement