Why would anyone want to block access to Facebook, you ask? It's so much fun, you say?

Maybe your kids are spending way too much time on it, gobbling up your precious bandwidth at home. Or maybe your employees are not as productive as they should be because of it.

Whatever the case may be, it's actually quite easy to block access to any troublesome website on your computer. And the best part is your kids / employees won't be able to unblock it — unless they read this article, of course... :)

Here's how, in Windows XP:

  1. Go to C:\Windows\System32\drivers\etc\
  2. Right-click on the "hosts" file and select "Properties".
  3. Make sure the "Read only" block is not ticked.
  4. Click "OK".
  5. Double-click on the "hosts" file.
  6. A screen will pop up, asking you which program to open the file with. Scroll down and select Notepad.
  7. Click "OK".
  8. A Notepad window now opens, showing lines of what looks like code.
  9. The following should show in one of the lines: "127.0.0.1 localhost" (If it doesn't, just type it in a new line).
  10. After this line, press the "Enter" key to make a new line and type "127.0.0.1 www.facebook.com"
  11. The two lines should look like this:
    127.0.0.1 localhost
    127.0.0.1 www.facebook.com
  12. To block any other websites, just add a new line below it, e.g.:
    127.0.0.1 localhost
    127.0.0.1 www.facebook.com
    127.0.0.1 www.website1.com
    127.0.0.1 www.website2.com
  13. Click on "File" and then on "Save".
  14. Close the Notepad document.

Facebook — and any other websites that you've added — should now be blocked. It might be necessary for you to close your browser and open it again before it will work.

(Note: to allow access again, simply remove the line with the applicable website from the "hosts" document.)


Digg
facebook
In video: Funny ads Most ads tend to be dull and boring, but there are some that will have you cracking up!
Halo 3: ODST Halo ODST This standalone, almost-full-length expansion to 'Halo 3' is actually remarkably good.
Website: Interpals Pen and paper Corresponding with someone from another country has been a fun experience for decades.