How do i block a website from being accessed?

Associate
Joined
28 Jul 2004
Posts
133
Location
Leicestershire
Im trying to block certain websites from being accessed on a computer

Any ideas how? its on a windows XP pro system, i tried editing the HOSTS file but when i add to it how a website suggested:

127.0.0.1 localhost
127.0.0.2 www.messenger.msn.co.uk
127.0.0.3 www.messenger.msn.com
127.0.0.4 messenger.msn.com

It doesnt seem to block it :S any ideas why?

thanks
 
Last edited:
what router do you have? most linksys ones can do web content filtering.
Also you might want to point the hosts file at 127.0.0.1/Page.htm and slap a html page in the root that just says "This page Is not permitted under IT acceptable use policy." or some such relaven message.

Edit: it wont appear to work if you have visited that page already. Windows Caches DNS entries so you may need to reboot after saving the hosts file in order to see it work.
 
Last edited:
Skilldibop said:
what router do you have? most linksys ones can do web content filtering.
Also you might want to point the hosts file at 127.0.0.1/Page.htm and slap a html page in the root that just says "This page Is not permitted under IT acceptable use policy." or some such relaven message.

Edit: it wont appear to work if you have visited that page already. Windows Caches DNS entries so you may need to reboot after saving the hosts file in order to see it work.

Thanks for all the help Skilldibop. Basically im trying possible ways to block students from accessing certain websites. Its on an RM :( networking connected to a server running windows server 2000. Still doesnt seem to work even if i reboot the computer.

The crappy filtering software they have doesnt seem to filter anything its useless so im trying to find other ways we can ban websites from being accessed
 
Last edited:
if your running server 2000 you can start running a DNs service and point all your clients DNS (via DHCP not manually. bugger that.)to point at the server. Then pu the entries in the DNS of the server and point them at something else like google or whatever. Alternatively, how do you currently connect to the internet? the more recent Models of linksys routers allow web content filtering by domain and IP, other makes probably do too, but i haven't played in as much depth with others yet. you can then replace your router with one and manage the site filtering using the web interface. This way will cost about £60 but that's gota be cheaper than software filtering, and saves possibly taking down and reconfiguring your server.
 
Back
Top Bottom