Post 1265

by billso on Sunday, 18 July 2004

Tech: Block­ing Unwanted Par­a­sites with a Hosts File: “The Hosts file con­tains the map­pings of IP addresses to host names. This file is loaded into mem­ory at startup, then Win­dows checks the Hosts file before it queries any DNS servers, which enables it to over­ride addresses in the DNS. This pre­vents access to the listed sites by redi­rect­ing any con­nec­tion attempts back to the local machine. Another fea­ture of the HOSTS file is it’s abil­ity to block other appli­ca­tions from con­nect­ing to the Inter­net, as long the the entry exists.
You can use a HOSTS file to block ads, ban­ners, cook­ies, web bugs, and even most hijack­ers. This is accom­plished by block­ing the Server that sup­plies these lit­tle gems. Exam­ple — the fol­low­ing entry 127.0.0.1 ad.doubleclick.net blocks all files sup­plied by the Dou­bleClick Server to the web page you are view­ing. This also pre­vents the server from track­ing your movements.”

Share

Comments on this entry are closed.

Previous post:

Next post: