linux poison RSS
linux poison Email

Block Ads / Malware / Spyware using hosts file (Windows / Linux)

The most easy way to block advertisements and other malware sites is to point those site to ip address 127.0.0.1 or 0.0.0.0 (however the zero version may not be compatible with all systems) in your hosts file.

There are sites which provides the list of the sites names which are responsible to displaying the ads or spreading the malware so, download the list from here and put it into your hosts file and restart your system.

For Windows 9x and ME place this file at "C:\Windows\hosts"
For NT, Win2K and XP use "C:\windows\system32\drivers\etc\hosts" or "C:\winnt\system32\drivers\etc\hosts"
For Linux, Unix, or OS X place this file at "/etc/hosts".



This is an easy and effective way to protect you from  many types of spy-ware, reduces bandwidth use, blocks certain pop-up traps, prevents user tracking by way of "web bugs" embedded in Spam, provides partial protection to browsers from certain web-based exploits and blocks most advertising you would otherwise be subjected to on the Internet.

One of the advantages from this modification is that your web surfing experience would be significantly faster because your browser does not have to wait for the annoying advertisement to load.

There are other effective way to kill advertisement - here


4 comments:

fuzion said...

its great! :-} thanx alot.

Anonymous said...

It sux, I`m too stupid to get it :(

Anonymous said...

What about windows 7/8 ... which over half of all computer are running?

Where do I get a list of bad sites?

Great outdated half an article.

Post a Comment

Related Posts with Thumbnails