Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

How to block a website ??

Jun 19, 2004 5:45PM PDT

Hi I don't know where to post this, but hope somebody out there can help. My daughter keeps on going to a Teen website which I don't like, is there a way for me to block the website so she cannot access it anymore? thank you. Maria

Discussion is locked

- Collapse -
Hosts file.
Jun 19, 2004 6:47PM PDT

Yes, there is. You can block the site in the hosts file.

For Windows 98 it's in c:\windows. For XP it's elsewhere but I don't know why, so you have to search for it in Explorer. It's just hosts (not hosts.dat or hosts.txt). See if you have it. There might be a host.sam (sample) with one example and instructions.

All you've got to do is add 1 line like
127.0.0.1 www.myteenagesite.com
and it will be blocked.

Follow the link in http://reviews.cnet.com/5208-6132-0.html?forumID=32&threadID=25637&messageID=287527&tag=srch to download a proven anti-malware hosts-file. It blocks sites considered harmful. You can edit it as you like, and add your own sites as shown above.

A google search for HOSTS will provide a lot of information also.

Hope this helps.


Kees

- Collapse -
Great tutorial on HOSTS files
Jun 19, 2004 7:30PM PDT
- Collapse -
Content advisor.
Jun 19, 2004 7:43PM PDT

A good alternative is to use the Content Advisor feature of Internet Explorer 6.0 to block individual websites. See http://www.microsoft.com/windows/ie/using/howto/security/contentadv/config.mspx
for a good introduction.

Note the difference:
- Usings hosts will result in a 'page not found' error.
- Using Content Advisor will ask for a password

Also remember that your daughter can view the sites you block on any other computer, say at school or with a friend. Parental control is only limited.

Kees

- Collapse -
Avoid the 'Page not found'...
Jun 20, 2004 4:38AM PDT

rather than using a normally accepted format on the hosts file such as:

0.0.0.0 123banners.com
or
127.0.0.1 123banners.com

use one like
198.187.189.83 123banners.com (takes one to the Walt Disney Kid's site)
198.187.190.55 123banners.com (takes you to the same place through a redirect)

One can actually have fun with their hosts! Wink

- Collapse -
How to block a website ??
Jun 20, 2004 11:16PM PDT

Thank you very much for all the replies, will try all the suggestions. Maria