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.
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.
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.
As I said, it serves more as a protective layer to prevent accidents.
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.
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.
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 +.).
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 com.apple.finder 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 com.apple.finder AppleShowAllFiles;killall Finder
(via Macworld UK)