Today, computer has become children's a high level toy, kids like to playing computer game, visiting all kinds of websites on the Internet. A majority of websites are useful for kid's education, but some of them are bad, there are a lot of porn websites, violent websites and malicious websites on the Internet. So, many parents want to block their kids to visite these bad websites. However, is there a way to block a computer user to visite specified website? and how to block a computer user to visite specified website. The answer is 'yes', we can block websites with hosts file on Windows 7 and other Windows operationg system.
1. What Is The Windows Hosts File
The hosts file is one of several system facilities that assists in addressing network nodes in a computer network. It is a common part of an operating system's Internet Protocol (IP) implementation, and serves the function of translating human-friendly hostnames into IP addresses that identify and locate a host in an IP network. Usually, the hosts file is located at "C:WindowsSystem32driversetc", it's file name is 'hosts', and no any extend name. We can block websites by changing the hosts file, following is a step by step tutorial about how to block websites with hosts file on Windows 7 and other Windows operating system.
2. Step By Step Tutorial To Block Websites With Hosts File On Windows 7
1) Copy the hosts file, which is located at "C:WindowsSystem32driversetc", to Windows desktop, and then use notepad to open the hosts file, you can see the following content:
2) Add a new record into the hosts file, for example, I added 'facebook.com' in it.
3) Copy the changed hosts file to the original location(C:WindowsSystem32driversetc), make the new hosts file to replace the old hosts file. Now I can not visite facebook.com.
This way to block websites is very easy, however, there is a flaw, which is any one who know hosts can change the hosts file to visite any website. So, if you want to block websites, you can using a professional software to do it.
Screenshot Keylogger provides a password protected black list of websites, so, you can use the black list to block websites on Windows 7 and other Windows operating system. You can download the software from '
HERE' for free.