Skip to content

How To Blog

  • Things you should know about Netflix How-To
  • Create a Windows 10 System Image Backup Featured Posts
  • HDG Explains : What Is a Computer Port & What Are They Used For? Networking
  • How to Change Fonts in WhatsApp Chats How-To
  • How to Switch Between Worksheets in Excel MS Office Tips
  • What is MAC address and How to Find it How-To
  • What is WiFi 6 and Is It Worth Waiting For? Computer Tips
  • Site Kit Brings All Of Google’s SEO Tools Under One WordPress Roof Wordpress

How To Block Websites In Safari On Mac

Posted on October 10, 2020 By blog_786 No Comments on How To Block Websites In Safari On Mac

How To Block Websites In Safari On Mac.

While most of the websites you come across are usually informative and help you with the tasks you’re stuck with, there are other websites that mostly distract you from the work you do. These websites often work like magnets, and they keep you going for long periods of time.

If you find yourself surfing these sites for long hours, you might want to block these sites on your computer. Thus, you indirectly impose restrictions on yourself and make these sites inaccessible.

How To Block Websites In Safari On Mac

This feature also helps you block websites that you don’t want your kids to see. These could be adult sites or other sites that you think are not suitable for your children.

Regardless of the arguments, blocking sites in Safari on Mac is a fairly straightforward process and can be done in three different ways. Feel free to watch our video we made for our YouTube channel, which covers all the steps and doesn’t need to be read on your part!

[youtube https://www.youtube.com/watch?v=hjWA1U7UUMg?feature=oembed]

Use parental controls to block websites in Safari on Mac

If you’ve looked inside the System Preferences panel on your Mac, you’ve probably seen this menu called Parental Controls. It lets you restrict the viewing of certain content on your Mac, and it also lets you block websites of your choice.

Click on the Apple logo in the upper left corner of the screen and select “System Preferences.”

–

How To Block Websites In Safari On Mac

When the panel opens, find and select the Parental Controls option.

How To Block Websites In Safari On Mac

Select the user account for which you want to enable restrictions from the left sidebar.

When the menu appears in the right pane, click on the tab labeled Internet.

Turn on the second option that says “Try to restrict access to adult websites” and then click the Configure button next to it.

How To Block Websites In Safari On Mac

On the next screen, click the + (plus) button under the Never Allow These Websites section to add a new website to the blacklist.

Enter the URL of the website you want to block and press Enter. Feel free to add as many websites to the list as you like. Click OK when finished.

How To Block Websites In Safari On Mac

The user will not be able to access the websites that you have blacklisted.

The list is customizable and you can add and remove websites at any time. There is even a section where you can specify allowed websites. It may contain your children’s educational websites and the like.

Modify the Hosts file to restrict access to websites in Safari on Mac

If you’ve ever tried to block websites on a Windows PC, you’re already familiar with the hosts file. This file can be used to restrict access to certain websites on your computer and is also available on the Mac platform.

You will use the Terminal application to open and edit the file.

Launch the Terminal app on your Mac, type the following command into it, and press Enter.

sudo nano / etc / hosts

How To Block Websites In Safari On Mac

Since this is a sudo command, you will be prompted for your administrator password. Enter your password and press Enter.

How To Block Websites In Safari On Mac

When the file opens, press Enter after the line with 127.0.0.1 localhost. This will allow you to add a new line to the file.

And here is the stage in which you actually block the site. Enter 127.0.0.1, press the spacebar, and then enter the web address of the site you want to block.

For example, if you want to block bing.com, you would use the following line:

127.0.0.1 bing.com

How To Block Websites In Safari On Mac

You can blacklist as many sites as you like. Just make sure each website is on a new line and doesn’t change the prefix that is your Mac’s local IP address.

After you’ve entered the URLs of all the websites you want to block, press Control + O on your keyboard to save the file.

Exit file editing mode by pressing Control + X.

Back in your normal terminal window, enter the following command to flush the DNS cache:

sudo dscacheutil -flushcache

How To Block Websites In Safari On Mac

It will delete the DNS cache files so that these files do not interfere with the hosts file.

The websites you specify will remain blocked as long as they are in your hosts file.

Use an app to block websites in Safari on Mac

Both of the methods shown above use the built-in tools available on your Mac to complete the task. If you are not comfortable with them and prefer an easier option, you can use a third-party site blocking application on your Mac.

Sign in to SelfControl, a free Mac app that lets you focus by blocking unproductive sites on your computer. With this app, you can even define how long your specified sites will remain blocked. After this period, the sites you specified will be available again.

Download the application, move it to the Applications folder and launch the application.

In the main interface, click the Edit Blacklist button to specify your websites.

How To Block Websites In Safari On Mac

Click the + (plus) sign on the next screen to add websites to the blacklist. Optionally, you can even import websites to be blocked from the Internet.

How To Block Websites In Safari On Mac

Drag the slider on the main interface to adjust the block duration. Then press the “Start” button to start the blocking period.

The sites you have selected will remain unavailable for the period of time that you have selected in the application.

An additional feature this app provides is a list called a whitelist. What this list does is that it allows you to specify the sites you want to access, with all other sites on the Internet being blocked. Be careful when using this feature and only use it in certain circumstances, where only a few selected websites are allowed on the machine.

–

How To Block Websites In Safari On Mac

Safari Tags:How To Block Websites In Safari On Mac, Modify the Hosts file to restrict access to websites in Safari on Mac, Use an app to block websites in Safari on Mac, Use parental controls to block websites in Safari on Mac

Post navigation

Previous Post: How to Use Dual Speakers on Mac
Next Post: How to Disable Annoying Default Alerts on Apple Watch

Related Posts

  • How to Change Default Download Folder Location on Any Web Browser Computer Tips
  • 25+ Best Safari Extensions You Should Try in 2019 How-To
  • How to Watch Winter Olympics 2018 from Anywhere How-To
  • What Is WebGL and How to Enable It in Any Browser How-To
  • How to Setup Multiple Home Pages in Your Web Browser Computer Tips
  • Best Useful Safari Ad Blockers for Mac Safari

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archives

  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • March 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Wordpress

Recent Posts

  • 11 Best useful Ways to Fix Gmail Notifications Not Working in Chrome
  • Differences between video game remake and remaster
  • How to Check In on Facebook (with Pictures)
  • MicroLED vs OLED: What’s the Difference?
  • How to Delete chrome History YouTube and Search Activity

Recent Comments

  1. 6 Best iOS Reminder Apps 2023 - How To Blog on How to Use Facebook Custom Friends Lists To Organize Your Friends
  2. 6 Best iOS Reminder Apps 2023 - How To Blog on How To Add Audio Narration To a Powerpoint Presentation
  3. 6 Best iOS Reminder Apps 2023 - How To Blog on free online courses with certificates of completion
  4. How to permanently delete A PS4 Account - How To Blog on Ultimate Guide to Troubleshooting PS4
  5. most expensive game console 2022/23 - How To Blog on 120Hz TVs and Phones Are Here: Do You Need It?
  • How To Run Multiple Instances Of An App On Android & Mac Smartphones
  • Quickly convert an image to text Microsoft Word 2021 How-To
  • How to build A home racing simulator? Gaming
  • Top 10 Differences between Windows 7 and Windows 8/10 Windows 10
  • How to Take Screenshots on Samsung Galaxy Watch And Gear S3
  • Cool New Features in Google Chrome v73 Google Software/Tips
  • These Services Are Free During Quarantine How-To
  • Change the Host Key in VirtualBox Virtualization

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version