Correct Sierra 10.12.5 file paths to Spotlight and SpotlightNetHelper files to be blocked with Little Snitch

finderpathspotlight

The article belowmentions using LittleSnitch for blocking Spotlight and SpotlightNetHelper:

Spotlight makes repeated http requests

It includes two screenshots. The first image shows two separate paths, which are dived by an arrow, to the correct files to block while the second image shows one path.

Spotlight app
SpotlightNetHelper

What are the correct paths to use for Sierra 10.12.5 as these apparently can't be found via searches:

I was able to find the first path on the first window:

/System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight

The second path is cut off on the first window and can't be determined.

The path listed in the second can be found until the point I get to the "A" folder, but the last bit "/Support/SpotlightNetHelper.App" can't be navigated to.

Best Answer

In macOS Sierra, SpotlightNetHelper was removed and the standard WebKit networking is used instead, located at /System/Library/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.Networking.xpc/Contents/MacOS/com.apple.WebKit.Networking.

There are various apps and processes which use this for networking, so you can't simply block it entirely without affecting those too. However you can set up a specific rule to prevent it connecting to Apple's services for Spotlight, which would prevent Spotlight using it to talk out, as shown in the first screenshot where the rule is ‘Spotlight via com.apple.WebKit.Networking’.