With each passing day, the security concerns over Internet are growing and gaining bigger dimensions. You never know, which websites and links are harmful and a click on their URL and infect your computer.
The situation becomes very complicated when we note that the search results and sponsored listings served by the popular search engines like Google, Bing etc. It is disappointing to note that these search giants, which drop the SERP ratings of an innocent website, if found serving malware at the drop of a hat, continue to drive traffic to malware serving websites through their own sponsored listing sections.
If you can punish innocent websites, who have been hacked by some criminal and the poor webmaster or blogger doesn’t have required expertise or skill to discover the malware serving code, then you should also be brave enough to stop the ads atop your search results, which are blatantly serving the malware codes.
You cannot shouldn’t employ dual policy on the same topic, just because the ads are giving your the revenue.
But this is not the topic of this post.
How to block malicious website access
Here we are to discuss, how you could block malicious website access from your computer. Once simple and crude way is to use the hosts file located in your computer and edit it so as to point a malicious website domain to
You just have to make an entry like following in your hosts file to block a website.
But, Where is this Hosts file located?
It is a Windows file and the locations of it in various versions of Windows is given below.
Windows 7 = C:\WINDOWS\SYSTEM32\DRIVERS\ETC
Windows Vista = C:\WINDOWS\SYSTEM32\DRIVERS\ETC
Windows XP = C:\WINDOWS\SYSTEM32\DRIVERS\ETC
Windows 2K = C:\WINNT\SYSTEM32\DRIVERS\ETC
So the task remains to identify the list of malicious websites and enter them into your hosts file.
But where to get such a list of malicious websites.
Yes that is crucial. Fortunately, there is a source hphosts, which publishes a regularly updated database f malicious sites and categorizes them into several categories. This is a community driven project, where people identify the malicious websites and include them into the database. An inclusion in the database is the identification that the site is identified as malicious.
Are they Always Correct
Yes that is sometimes an issue. I have seen people complaining about the accuracy of the database. In fact, one of my own blog on PC Security was wrongly included in their database. Fortunately, I brought it to their notice and Stenven Burn, the administrator was quick to remove it from the database.
I am not saying that they are perfect. Such community driven projects are always bound to commit an error or two. But it is always good to err on the right side. What I mean to say that even if they are blocking a few legitimate sites, if they are able to block the access to most of the malcious sites, then I will go and use them.