contador web Skip to content

Tip: How to protect and hide files on OS X

There we go with one more tip for OS X!

There are files that you don't even want to accidentally delete, right? Or else a document that is ready to be delivered (work report or college work, for example) and you do not want to risk changing something unintentionally. Because there is a native way in OS X to implement a protection layer in these files that is very easy.

File locked by OS X

Select the file / folder in question, click the direct button and choose the option “Get Information” (or use the shortcut I). Then just check the “Blocked” option.

File locked by OS X

Doing this does not prevent the file / document from being deleted / edited, but at least before trying to delete or edit, an alert appears asking if you really want to do this.

File locked by OS X

As I said, it serves more as a protective layer to prevent accidents.

File locked by OS X

In the case of documents, some applications such as Pages, Numbers, Keynote, Text Editor, etc. offer the option to block everything by the title bar, as we can see in the image above.

· · ·

Another security-related tip is the possibility of hiding a file on the system.

Sorry, app not found.

There are some third-party apps on the market that do this, like MacPaw's Hider 2.

Hidden file on OS X

But if you just want to hide an important document for a while without having to install / pay for an app, you can do this by simply adding a period (.) Before the name of the file you are creating.

Hidden file on OS X

Note that OS X alerts you, stating that this type of file (with a period in front) is reserved for the system. But you can go on and save like that without any problems.

Now that the file is hidden, how do you see it again? Or even open it? simple. In the example I used above, I saved a table text editor file (Desktop). To view it, just open the Text Editor, go to the Table in the selection window and press. (Shift + Command +.).

Hidden file on OS X

In doing so, invariably other system files will appear depending on the folder / location where you saved the invisible file. This is normal, after all OS X itself warned us that this is a reserved feature for the system.

It's not legal to go out and create documents hidden by a and then forget about them. If this happens, I recommend opening the Terminal (inside the / Applications / Utilities / folder) and typing the following command:

defaults write AppleShowAllFiles -bool TRUE;killall Finder

Thus, all files hidden on your Mac will be visible. You can view them, remove the point from the front of the files and then reverse the process by typing the following command in Terminal:

defaults delete AppleShowAllFiles;killall Finder

Use sparingly!

(via Macworld UK)