Computing.Net > Forums > Windows XP > host file website blocking

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

host file website blocking

Reply to Message Icon

Name: suriya6in
Date: August 11, 2005 at 00:17:40 Pacific
OS: win9x/winnt
CPU/Ram: 128 mb
Comment:

my condition is to block all web sites except 1. how to do this through host file?

suriya



Sponsored Link
Ads by Google

Response Number 1
Name: rayok123
Date: August 11, 2005 at 01:27:48 Pacific
Reply:

another way to do this is to set IE to look for a fictitous proxy for all websites except the ones you specify - this is done via tools > internet options > connections > lan settings > tick "use a proxy" > advanced - then type in a fictitious proxy address and then specify the sites in the bottom box


0

Response Number 2
Name: Jimi_l
Date: August 11, 2005 at 03:34:09 Pacific
Reply:

SWEET tip my brother.

Jimi_l


0

Response Number 3
Name: jefro
Date: August 11, 2005 at 15:24:45 Pacific
Reply:

You can't really unless it is for a real young kid. Host file just bypasses the name resolution not the ip address.

rayok123's idea is about as good as any if you lock down the system to disallow access to changes. Use 127.0.0.1 usually for dummy ip address.

I guess you could disable dhcp and use host file. One could still use an IP address to bypass hosts file. You'd be better off using a router, most people have one anyway. It can be bypassed too if you have access to the system. You could use a proxy.pac file to test mac and os version at a proxy server and also allow ip address's.


0

Response Number 4
Name: Ed in Texas.
Date: August 12, 2005 at 03:20:09 Pacific
Reply:

suriya , see if the info found @:
http://mvps.org/winhelp2002/hosts.htm
helps.
HTH.
Ed in Texas.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: host file website blocking

updated host file to block pop ups www.computing.net/answers/windows-xp/updated-host-file-to-block-pop-ups/48598.html

website blocking www.computing.net/answers/windows-xp/website-blocking-/126648.html

Hosts file www.computing.net/answers/windows-xp/hosts-file/108127.html