Monday, October 24, 2005

How to prevent children from viewing certain sites on home computer

There are many sites on the net that are not apropriate for the children.
So I decided to make some of them unavailable on our home computer.
There are many ways to do this, I chose one quite simple and browser independent.

So you open file "hosts" (it has no ending). It's usually located in "c:\windows\system32\drivers\etc\hosts", this is default for windows XP.

So you open this file with some text editor, like Notepad and to the end of the file you can add some ip addresses and map them to certain domains.

For example I added this line:
192.168.0.123 www.livejournal.com

It means that all domain requests for livejournal.com will be redirected to ip stated above, which in my case is another computer in my local network with running web server.

And the results:




Then you can just hope that children won't read this post :)

No comments: