Sunday, October 27, 2013

How to block a web site in Windows 7

How to block a web site in Windows 7
Windows operating system is having some many features that are not visible to all. One such feature is blocking the web sites which we don't want to see. You children may browser your system and you want to block some known sites like games, other adult sites. In Windows Vista and Windows 7 operating system you can block the sites without any 3rd party software.

All you need to do is to add the web sites in hosts file which is in Windows system folder. This is not a new concept which exists in old version of Windows operating system. It requires administrator permission to modify and save the hosts file.

Host file will map the IP address to a host and it is controlled by the administrator of the system.

To block Web sites

Open the location C:\Windows\System32\drivers\etc and you can see a list of files.

Open the hosts file in a notepad and you can a default address with and localhost. Below that add the web sites that you want to block. One web site can be added in one line (check the below screen shot) Enter the Default IP address and the website address name
All the IP address should be and the web sites can be any web sites that you want to block. Once you added all the web sites save the file. Even as a administrator you cannot edit the file. You need to assign permission to edit the file and you can start editing the file. Any time you can edit the hosts file and you can add or remove the web sites to allow or block.

Do not depend on this host's file alone. You can use some software to block the web sites. Make this file as ready only so that the other standard uses cannot modify the hosts file.

No comments:

Post a Comment