![]() |
Blocking Unwanted Parasites with a Hosts File
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. |
What a wonderfully simple and effective way to do it.
Wish I thought of it. |
Evo,
Looks very promising. Will need to give this one a try. :ok: Take Care, Richard |
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:
|
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. |
| All times are GMT. The time now is 14:56. |
Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.