PDA

View Full Version : Blocking Unwanted Parasites with a Hosts File


Evo
30th Jun 2004, 19:35
A useful tip I came across. Seems good to me - anybody know of a downside?


You can use a HOSTS file to block ads, banners, cookies, web bugs, and even most hijackers. This is accomplished by blocking the Server that supplies these little gems.

There is no need to install, turn on, or change any settings. Windows automatically looks for the existence of a HOSTS file and if found, checks the HOSTS file first for entries to the web page you just requested. The 127.0.0.1 is the location of your computer, so when the entry "ad.doubleclick.net" is requested your computer thinks 127.0.0.1 is the location of the file. When this file is not located it skips onto the next file and thus the ad server is blocked from loading the banner, Cookie, or some unscrupulous javascript file.


How to Block Unwanted Parasites with a Hosts File (http://www.mvps.org/winhelp2002/hosts.htm) :ok:

under_exposed
1st Jul 2004, 07:56
What a wonderfully simple and effective way to do it.
Wish I thought of it.

Naples Air Center, Inc.
1st Jul 2004, 16:05
Evo,

Looks very promising. Will need to give this one a try. :ok:

Take Care,

Richard

Evo
1st Jul 2004, 17:02
I've been running it for a few days now - I haven't seen any problems, and some experimenting with ping shows that it's working as expected. Only problem seems to be, as with everything else, a need to keep the hosts file up to date. :ok:

Mac the Knife
3rd Jul 2004, 11:31
I've been using a Hosts blocking file for a couple of years now. Works pretty well.

http://www.accs-net.com/hosts/ has about the best (simple) explanation of what Hosts is and how to use it. They also have some zipped Hosts files with all the big current offenders and a lot more.