It can be terribly annoying if some of your friends always keep using your computer for accessing social websites like Orkut, Facebook, Twitter, etc. But you can’t ask them not to do so because they are your friends after all. So the obvious way to prevent them from doing so is to either disconnect your internet connection or install any website blocking software. Both methods are not possible as you can’t disconnect your internet connection because it is your requirement for work and if you install some software then there is always a possibility that anyone can remove it and access the blocked website again.
But today I am going to tell you a trick for blocking any website without the help of any third party software. You can also block any unwanted websites that are not not age appropriate for your child. You can block websites in any version of Windows like Window7, Windows Vista and Windows XP.
You must follow these steps:
1. Go to C:/Windows/System32/drivers/etc
2. Make sure you have administrator permission. Now right click on hosts file and select Properties. Uncheck Read-only if checked.
Click on Apply and OK
3. Now again right-click on the same file and open it with Notepad for editing. After opening it in notepad, enter the URL of the websites that you want to block as depicted in the image below.
Now disconnect your internet if running and connect again and try to open the blocked websites. You will be unable to do so.