How to Block a Website From an Apple Computer

The Internet's easy access to so many types of questionable content makes it more difficult than ever for parents to protect their children. If you have an Apple computer, there is no self-evident way to prevent access to questionable sites except through the Safari web browser, which can easily be circumvented by simply installing another browser. But modifying the "hosts" file on your Mac, however, can block access to a dangerous website, no matter which web browser is used.

Things You'll Need

  • Mac running OS X
Show More

Instructions

    • 1

      Open the "Applications" folder. Double click "Utilities" and "Terminal." A command prompt will open.

    • 2

      Type "sudo nano /etc/hosts" without the quotation marks and hit "Return."

    • 3

      Enter the Administrator password for the computer. This should bring you to a text file with the words "Host Database" at the top.

    • 4

      Use the arrow keys on the keyboard to move the cursor down to the bottom of the file. Type "127.0.0.1 (website)" without the quotation marks. For example, if the website that you want to block is example.com, type "127.0.0.1 www.example.com."

    • 5

      Hit the "Control" and "O" keys on the keyboard simultaneously, then hit "Return" to save the file. Close the terminal window. The website that you have specified is now blocked. To remove the block, return to the Host Database using the steps outlined above, and remove the line referencing that website.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured