Monday, June 7, 2010

Block websites from your PC

If you're an administrator or parents who wants to stop users from accessing certain websites, here is way to block unwanted websites from the PC itself. Blocking access from the PC will help to ease the local traffic.

The trick is by simply editing the hosts file. To edit this file:
  1. Go to your Run and type "C:\WINDOWS\system32\drivers\etc" minus the quotes of course. 
  2. Double-click the "hosts" file.
  3. When prompted to open, choose Notepad and open the file.
  4. Inside you will see "       localhost".
  5. Add the websites that you wish to block below the "       localhost". In this example I use facebook:
  1.  Don't forget that websites to blocked must have the url with "www" and with out "www" in the list.
  2.  Save the file.
Here is the screenshot of the example.

When the user try to access the block websites, the site will not load on the web browser.

No comments:

Related Posts with Thumbnails