Resources > Windows 7 Tips > Sites List for Hosts File to Block Malicious Website Access

Sites List for Hosts File to Block Malicious Website Access

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 is very complicated, if we determine that the search results and sponsored listings served by the popular search engines such as Google,, etc.. It is disappointing to note that the search giant, the SERP rating of an innocent website if drop found at the drop of a hat serving malware to drive traffic to continue to serve malware sites through their own sponsored listing section.

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.


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, it is of crucial importance. Fortunately, a source hpHosts that a regularly updated database fmalicious websites published and categorized it into several categories. This is a community driven project, where people identify malicious sites and included in the database. Inclusion in the database is the identification that the site is identified as harmful.

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’m not saying that you are perfect. Such a community driven projects are always bound to commit a mistake or two. But it’s always good to err on the right. What I mean to say that even if you are a few legitimate sites blocked, if you are able to access the most Malcious sites to block, then I go and use.

[Visit hphosts]

Leave a Comment

+ 9 = ten

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>