We going to tell you some of the ways through which you can easily block websites on Safari. Parental Controls is a feature that blocks all inappropriate website, All you’ve to do is to enabling a feature.
However, you want to know how to block websites on Safari web browser on Macbook. Here we demonstrate how to block website and how to enable parental controls in MacOS.
Follow given below step by step guides to block websites on Safari browser.
Block Websites on Safari Web Browser
Safari in a browser avalable for MacOS and iOS platforms. However, we going to tell you to block websites on safari without website blocker.
Generally, on Google you find out lots of ways, to block websites on safari, here we show the fastest way to block site using a terminal.
Launch the Terminal (Just search for terminal in the spotlight).
Now in Terminal enter the given following command line. Hit ” Enter” button in keyboard
sudo pico /etc/hosts
After hitting the Enter button you will be asked for Administrator Password.
Once’s you’ve entered the correct administrator password you the Terminal Text Program will started. The command line will open a host file you’ve to scroll down to the bottom an press Enter. To create a new line.
Now all you’ve to do is to enter the following data. Type the IP 127.0.0.1 followed by the URL or Site address. i.e: 127.0.0.1 www.google.com. And hit Enter button. However, there is a catch you can only add one website on a single line.
After entering the websites names in the file, Press “Ctrl + O” the hit Enter to save the file.
Final Step, In this only you’ve to flush your cache in order to take effects in settings. Just open the Terminal and enter the following command line “sudo dscacheutil -flushcache” to flush the DNS.
Now launched the safari web browser and try to open the website you’ve blocked. If all goes correctly you won’t be able to open the websites on safari browser or any other web browser on your Macbook.
How To Enable Parental Controls In Macbook
Parental controls are the feature that protects or block to access the inappropriate website. Basically this feature is helpful for parents to block all inappropriate websites on the web browser for their kids.
Here, it’s a simple way to enable Parental Controls in MacOS. Follow given below step by step guides to activate Parental Controls.
Go to Apple Menu (through spotlight) > System Preferences. And click on Parental Controls.
Note: For some users if you’ve open System Preferences, If you see the message like this “There are no users account to manage”. Which means you’ve to add a managed users in your Macbook.
Now after the first step, Click on the lock icon to unlock it, after it type administertor name and password. After that select the user and Enable the Parentals Controls.