3 Solid Ways to Hide and Encrypt Files and Folders on Mac

Hat 80288 640

If you’ve been using a Mac long enough, you’ve surely wondered how to hide a file. It could be an important work document that you don’t want anyone to see, or something a little more personal. Whatever it may be, today we’re going to talk about three surefire ways to hide files on your Mac.

1. Using Terminal

First, we can use a simple terminal command to hide folders from prying eyes. Open Terminal and enter the following command:

hidden chflags (Path to file here)

Screenshot 2015 01 01 At 2:30 pm

Before pressing Enter, drag the folder or file in question to Terminal and the path will show up. Of course, you can also enter the path manually. Just remember that if your folders/files have spaces, make them dashes first.

Now the contents of the folder are hidden. There are two ways to unhide them. You can unhide specific folders or do so for all hidden folders on the system.

Unhide specific location

Screenshot 2015 01 01 At 2 31 29 pm

To do so with only the folder we have hidden, use the following command:

chflags nohidden (The path to the file is here)

If you come back after a few days to unhide it and want a quick way to know the path of the hidden file, write the following command:

history

This will display all the commands you entered. Copy the path name in chflags nohidden command and press Enter.

Unhide all hidden folders

To unhide all hidden folders, type the following command:

See more:  How to Use Screen Time in iOS 12 to Set Parental Controls

default says com.apple.finder AppleShowAllFiles TRUEkillall Finder

If you’re using a Mac running Mountain Lion or below, you’ll have to capitalize F IN com.apple.finder.

To hide all files again in the same way, use the following command.

default write com.apple.finder AppleShowAllFiles FALSEkillall Finder

2. Use obscurity

Obscurity is a shell application. Download the .dmg from here, open it and drag the file hidden folder to anywhere on your system.

Screenshot 2015 01 01 At 1 24 22 pm

Now right click on the folder and select View package contents.

Screenshot 2015 01 01 At 1 27 02 PM

Here, drag any files in and they will be secretly saved. Anyone just need to click hidden the directory will not be able to access the files. You can of course change the name of the folder.

3. File Encryption

The next level in the chain of security, after hiding files, is to encrypt them. You can do this using your Disk Utility.

Screenshot 2015 01 01 At 1 31 59 pm

Open Disk Utility and go to File > New > Disk Image from Folder.

Screenshot 2015 01 01 At 1 32 57 pm

Select the folder you want to encrypt, and don’t forget to choose 256-bit AES encryption from the Encryption drop-down menu.

Screenshot 2015 01 01 At 1 33 28 pm

Specify a password for authentication.

Screenshot 2015 01 01 At 1 34 18 pm

That’s it, your files are now protected.

How do you keep your Mac secure?

Did you know: Mac offers FireVault encryption to encrypt everything on your Mac. That means even if a person gets hold of your Mac, they can’t access your data without your password.

What do you do to secure your Mac? Let us know in the comments below.

Categories: How to
Source: thpttranhungdao.edu.vn/en/

Rate this post

Leave a Comment