How to Limit Spotlight Search to Improve Your Privacy on MacOS


Imagine for a second: some directories (or folders) on your computer contain sensitive information. You don’t want other people to have easy access to these directories, but unfortunately with Spotlight, anyone with access to your desktop can easily unearth the files and the information they contain.

It is a problem.

For very sensitive folders, it is best to outright encrypt these directories. But for less sensitive information, encryption can be overkill.

Maybe you also have so many files and directories on your desktop that Spotlight search isn’t as fast as you’d like.

Either way, to fix these issues, you can prevent Spotlight from searching specific directories on your local drive. As Spotlight is very powerful, it can present several results very quickly. This means that a malicious actor can quickly locate the files they need to commit their misdeeds.

With this Spotlight trick, you can prevent intruders from finding such files too easily.

Requirements

All you need to do this is an up-to-date macOS device and a directory (or more) that you want to exclude from Spotlight search.

Hide directories from Spotlight

1. Open System Preferences


Click on the Apple icon on the left edge of the top bar, then select System Preferences.

2. Open Spotlight Preferences

In the System Preferences window, click spotlight.

3. Open the Privacy tab

Click on the tab Privacythen + (the plus sign).


The Spotlight Privacy tab.


Image: Jack Wallen

4. Exclude directories

In the pop-up window that appears, locate and select the directory you wish to exclude from Spotlightthen click Picking out.


The macOS Finder window.


Image: Jack Wallen

Once you hide these directories from Spotlight, their contents should no longer appear in search results. The only thing to keep in mind is that Spotlight may take a while to “forget” these folders. macOS isn’t very quick at forgetting directories, and even a reboot doesn’t speed up the process. However, these directories will eventually stop appearing in the results after a while.

A bonus Spotlight tip

Return to the window Spotlight Preferences and click on the tab search results. From there, you can include or exclude certain categories of files from Spotlight search. Again, be aware that once you’ve made changes, Spotlight will take some time to forget about these categories.


The Spotlight Search Results tab.


Image: Jack Wallen

With these two little tricks, you can make it much harder for others to locate your private files and information.

Source: “ZDNet.com”





Source link -97