Block unwanted websites/malware with a hosts file
May 07
security hosts, malware No Comments
The Hosts file contains the mappings of IP addresses to host names. This file is loaded into memory (cache) at startup, then Windows checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS. This prevents access to the listed sites by redirecting any connection attempts back to the local (your) machine. Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, providing the entry exists.
One of the best resources on the Hosts file trick to block “parasites” is over at mvps.org. Its probably one of the most actively maintained hosts file on the internet today.
Link: http://www.mvps.org/winhelp2002/hosts.htm
Check out these posts too:
- How to block yourself from Google Analytics
- Scan Websites for Exploits, Malware and other Malicious Threats
- How to Convert a .BAT file or .VBS file into .EXE to Enable Pinning to XP Start Menu
- Prevent websites from blocking the right-click menu in Firefox 3
- Block IE6 from browsing your website
- The proper way to block WordPress spam
- Upload a file, get a file
Facebook
RSS
Twitter
Recent Comments