What should I do if I want to encrypt or hide files on a Mac computer? How to encrypt a folder? Here macw Xiaobian brings a tutorial on how to hide and encrypt files or folders in MacOS!
MacOS hidden files or folders
- Drag the files or folders you want to hide into the original hidden folders in the Mac system, such as the resource library.
- new hidden file
Open the terminal (Terminal), enter mkdir file location/.file name in the terminal , such as mkdir desktop/.MacW, press the return key (return) to execute the command, and a hidden folder (.MacW) can be created.
We can display this hidden folder by pressing the keyboard shortcut Shift+command+.
- Modify file hidden attributes
Enter chflags hidden + space in the terminal, then drag in the file, and then press the return key (return) to execute to hide the file.
- Hide files/folders through Mac software installation packages
Mac applications are some .app folders. Right-click on the application icon and there will be an option to display the package content. This package contains program files and resource files, and most people will not visit here.
Dragging secret files into these packages is also a very good way, just remember which application to put, otherwise you will find a needle in a haystack. Or name the secret file as the .app folder, so you won’t be afraid to forget~
mac encrypted folder method
Hidden files just make files invisible under certain conditions, the privacy is not high, and they can be easily viewed and modified by anyone. Don't worry, you can use another way of keeping secrets - encrypting files.
Go to other folders in Launchpad【Startup Platform】and open Disk Utility.
Click File > New > Image from Folder in the menu bar, or the shortcut Shift + Command + N.
Double-click to select the confidential folder, then select a method in the encryption option to enter the password, change the image format to read/write, and then click Save.
When you want to access this encrypted disk, you must enter the password, but before entering the password, you must uncheck "Remember password in my keychain", otherwise the password will be set in vain.