How do I disable Safari in OS X?

The desired effect is the same as in iOS: in iOS, you can easily disable Safari through the Restrictions settings, and the app just hides but is not uninstalled. You cannot search for the app, see an icon, or open it in any way.

I do not want to disable all browsers. In fact, that's the problem. The Parental Controls control all web things. And that's great. But if I want the default browser to be Google Chrome and I want to use a whitelist, then I can't use Parental Controls (at least since Yosemite). The Parental Controls option for a whitelist has been blocking everything from Chrome. Firefox has similar problems, but not as bad as with Chrome. If I use Chrome and Chrome's parental controls, then a user can just open Safari with no restrictions.


Solution 1:

You could change permissions for Safari.

Open the information window on Safari (from the Finder window, with the Safari application selected, push command+I or right-click), add the desired user, and set permissions to no access.

Solution 2:

Just open the terminal and type:

cd /Applications
sudo rm -R -f Safari.app

It will ask for your password and proceed to delete Safari from the system. You may want to backup the app before.