This is accomplished by using the HOSTS file. The HOSTS file contains the mappings of IP Addresses to host names. The file is loaded at Windows Startup, and Windows checks the HOSTS file BEFORE it looks to your ISP to find the site. Editing the HOSTS file prevents access to the outside sites by redirecting traffic back to your own computer. *
It can block applications (viruses, trojans, downloaders) from accessing specific sites, by redirecting any (would be) outgoing communication back to your own computer, preventing it from accessing whatever material it was trying to get.*
It also blocks the ad servers from tracking your movements - in many cases the banner ad would open a separate connection to your computer, which is active even after you leave the banner's page. This connection reports all the cookies you send, even to other unrelated sites. Yikes! *
It can speed the loading of pages, by skipping the animated GIF files, hit counters, annoying ads, and can block data miners from ever seeing your IP address, and tracking you on the net.Quick disclaimer:
Please note: While this is a simple treatment, this is NOT the final cure. Think of this as another level of protection, but not an independent cure.
Also note: If you have a virus, this will NOT fix your problem. Get an antivirus program, and keep it updated. I use Kaspersky Antivirus
, they have a 30 day trial before you buy. I'm not here to sell anything for anyone, but find a reputable antivirus company, and keep your virus definitions UPDATED
. New malware comes out hourly... literally.
However, if you HAVE a virus, like a trojan, it will keep connecting to the trojan's site and downloading copies of itself (or other malware programs) to your computer, like the www.WINANTIVIRUSPRO.com
trojan downloader (or www.DRIVECLEANER.com
) that pops up and falsely states that your computer is infected (it is, but it is the actual virus that is causing the pop-ups), and tries to get you to buy their software to remove it (it won't), you can use the HOSTS file to block the website that the trojan downloads from. Adding this address to the HOSTS file can help keep the trojan from reinstalling after your REAL antivirus removes it. The HOSTS file will cut it's communications, and the antivirus will kill it off. So even though this won't FIX the virus, it can stop its spread, and help avoid the next one!