Cisdem Learning Resource Center

How to Block Websites on Mac- 4 Impressive Methods Provided!

“Is there a method or a website blocker to block websites on mac? When I am trying to work on my Mac, something always drags me from working, like watching YouTube videos, listening to musics, etc. This is very annoy and makes me less productive. Can anybody know how to block websites on Mac? Any help will be greatly appreciated.” From an anonymous Mac user.

There will always be some distractions that prevent you from focusing on the actual task. These distractions can be constantly checking your emails, reading your Facebook feed,watching some funny YouTube videos, listening to online radio, etc. Here are some methods for you about how to block websites on mac. This article falls into four parts listed as below:

Method One: Block Websites on Mac Using Parental Controls

You can use Parental Controls in Mac OS X to help prevent user accounts from accessing to some Internet websites regardless of which Internet browser is used. This part describes how to block websites using Parental Controls step by step.

Step 1. From the Apple menu, choose System Preferences. From the View menu, choose Parental Controls.

Step 2. Select the user account on the left side of the window that you would like to enable parental controls. Then click "Enable Parental Controls". Click the Content tab to set restrictions. If there are no user accounts for you to choose, you’d better set a new one to be enabled Parental Controls by clicking “+” button.

Step 3. Choose “Web” and choose one of the three modes under Website Restrictions. See below for a description of each. Then click the lock to prevent further changes.

Block Websites on Mac Using Parental Controls Step 3

Note: Parental Controls cannot be enabled for administrator accounts (admin accounts will not appear in the window). Check Accounts preferences in System Preferences to see which account(s) have what level of access (Admin, Managed, and so forth).

Method Two: Block and Unblock Sites through Hosts File in Terminal

Using Terminal to blocking website on Mac is free for Mac users without buying any application. The process is relatively quick, and requires altering your Mac’s hosts file to redirect a specified domain name. This process will prevent users from seeing content you deem block-worthy across all browsers but that can be reversed should you want to grant access to the sites in the future. Follow below steps to block a website whether you use Google Chrome or other Internet browsers.

Step 1. Open up Terminal in /Applications/Utilities. Type “sudo/bin/cp/etc/hosts/etc/hosts-original”on the Terminal command line to make a backup of the file. Hit Enter and type in your administrative password when prompted.

Block and Unblock Sites through Hosts File in Terminal Step 1

Step 2. Next, type “sudo nano /etc/hosts” and hit Enter on the Terminal command line to open up your hosts file in a nano box. Enter your administrative password and you’ll see the host database for your computer. Using your down arrow, go to the bottom, right under where it says, "SERVER_IP_ADDRESS localhost", for example “ localhost”.

Step 3. Edit the hosts file. Type in “SERVER_IP_ADDRESS”, such as “”. On a new line, type in “SERVER_IP_ADDRESS”; this is for extra measure. Now, hold down Control + “O”. This will save the changes to the host database. Hit “Return” and then Control + “X” to exit the screen.

Block and Unblock Sites through Hosts File in Terminal Step 3

Step 4.Remove the existing cache by typing in "sudo dscacheutil -flushcache" in the command line, this refreshes the existing cache on the host database. You should receive an “Unable to connect” error message when you go to the website.

Block and Unblock Sites through Hosts File in Terminal Step 4

Note: You can also unlock these websites by repeating the steps above but removing the information entered in step 3. This method can be tedious.

Method Three: Blocking Websites on Mac With a Mac Website Blocker

If you don’t want to change the Mac setting, that using an app to block websites on Mac will be the most convenient way. For Cisdem AppCrypt, it comes with easy interface and overall function. You can use it to block websites and apps on Mac. Also AppCrypt is very easy to remove the app blocked and add some websites to the blacklist and whitelist. Four main features:

  • Work as background process and don’t take CPU load while idle.
  • Keep tracks of failed attempts to access the locked apps and websites.
  • Set time schedule to unlock locked apps and websites at a specified time.
  • Blocking websites on mac by adding to blacklist and whitelist.

Download the Free Trial of Cisdem AppCrypt

Download the Free Trial of AppCrypt for Mac >>

How to block a website on mac with AppCrypt? Please follow the step-by-step guide below:

1. After download and install Cisdem AppCrypt, you should run the software. It will show you a window asking you to set new password.

Blocking Websites on Mac With a Mac Website Blocker Step 1

Note: You’d better make a note of the password. Because AppCrypt is unable to retrieve or reset the password once you forget it.

2. Next, you should click the “WebBlock” option at the top-right corner. A new small window will pop up, just add websites that you intend to block on Mac in black list.

Blocking Websites on Mac With a Mac Website Blocker Step 2

3. Now you can enable and disable WebBlock readily by clicking the key icon in Mac status menu bar. If you type a wrong password, the system will take a photo immediately.

Blocking Websites on Mac With a Mac Website Blocker Step 3

Method Four: Prevent Access to Websites Using Internet Browser Extensions

Some Internet browsers such as Google Chrome and Mozilla Firefox allow you to download extensions for your browser in which you can manage websites. Go to your Internet search engine and enter keyword phrases such as "Chrome add-ons" or "Firefox extensions" to locate websites that feature add-ons for your particular browser. Then download the extensions and add them to your browsers. Here I will set BlockSite extension as example.

  1. Add BlockSite extension to your Mac. And right click the icon to choose "Option".
  2. Add pages to the list of blocked sites, such as Access to Websites Using Internet Browser Extensions Step 2
  3. When you open google, you will find the website is blocked by BlockSite extention.Prevent Access to Websites Using Internet Browser Extensions Step 3

Final Word

Although I have introduced four ways to block websites on Mac above, my most desirable method is using a professional third app- Cisdem AppCrypt. This software is easy to use and uncluttered, It‘s completely safe for your Mac and still continuing to develop new functions. Meanwhile, other ways to block websites on Mac can be easily crack, like using BlockSite. You only need remove the extension and then the block funtion will be disabled. So if you would like to prevent others to access to a special website, I believe Cisdem AppCrypt is the best choice. Between times some users may ask how to block websites on safari mac without parental control, actually, AppCrypt also applies for it.

2017-05-04 06:09:35 / Posted by to Mac App Blocker Follow @ Rosa

Related Cisdem Recommendations

Contact Manager Mac

Remove duplicate contacts, resolve contacts conflicts, and export Mac contacts to CSV, vCard, Excel, etc. Learn More

DVD Burner Mac

Burn any video to DVD on Mac including: MP4, AVI, VOB, 3GP, FLV, MOV, MTS, M2TS, WMV, MKV, M4V,etc. Learn More

More Related Articles You May Like

  • The Indispensable Social Media Blocker to Block Social Media Distractions

    As we all know, there are many commonly used social media distractions like SnapChat, Facebook, Twitter, YouTube, Instagram and so on. It’s a fact that we are often distracted by these social media apps or websites when working or studying on Mac.This article will recommend you an all-in-one social media app blocker for Mac to block social media distractions including websites and apps on Mac to improve your productivity.

  • How to Password Protect Folders on Mac with/without Disk Utility?

    Do you want to password protect a folder on your Mac? This article will show you two ways to password protect your folders and you can choose the best way which is suitable for you to create a password on any folders on your Mac.

  • How to Block YouTube on Mac: Four Great Methods Proven by Research

    How do I block YouTube on my Mac? How do I temporarily block YouTube channels for free or is there a way to block YouTube app on Mac? Lots of users try to block YouTube videos on Mac, but they don’t know how to.This article will introduce you how to block YouTube website, YouTube app, YouTube channels and YouTube video ads on Mac.

0 Responses

Leave a Reply

Top OS X Articles

Get Inspired!

Sign up for Cisdem newsletters, stay informed on the latest products news, the hottest deals, and our holiday special sales.