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
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?
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.
Summary: http://ssmedia.com/utilities/hosts/ I went to this site and updated my hosts file to block pop up ads. It worked kind of. Now, instead of an ad poping up, I get a cannot find server in the pop u...
Summary: The internet/intranet for the most part uses IP addresses in XP. Most OS's use the host file first to resolve name to IP address and then look to a DNS server. It would be faster to look up locally bu...