How to block sites

Posted: March 17, 2013 in Security
Tags: ,

Block unwanted adverts and sites.

You can use tools such as "Ad-Block" and Opera users have a few enhancers for the built-in content-blocker.

To block everything in all your software is a pain, so it is easier to block at the network level.
The advantage is that 1 size fits all, and you can also block malware addresses and IP ranges.

With the help of a regularly updated (every month) "Hosts file", you can do most of the work in 1 go :ninja:
Visit for the monthly "MVPS Hosts" file.
There are different issues depending on your version of Windows, so make sure you read the info.

HOSTS file locations
Win95/98/Me: C:windowshosts
WinXPHome: C:windowssystem32driversetchosts
WinNT/2000/XPPro: C:winntsystem32driversetchosts
Win7: C:\windowssystem32driversetchosts
Mac OS X: /private/etc/hosts
Linux: /etc/hosts

(The HOSTS file is usually Write-protected/read-only, so you will have to change that before you can write the new one)

⭐ The most excellent "jv16 Powertools" from , will "Immunise" Windows PCs with the "MVPS Hosts" for you.
Good Antivirus software (like Avira) should stop you making changes, so you may have to temporarily disable, while you update your hosts file.

:ninja: A very useful extra to add to your browser, that will give you dynamic and configurable blocking with visual feedback, is "Ghostery"
After installing and following the setup wizard, you should open the settings and change the other options to your taste.

:sherlock: Advanced users may wish to create their own lists. Check this page for links to lists and a converter.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s