CA Final
3006 Points
Joined September 2010
Step 1. Go to ‘C’ drive or whatever is the name of your OS drive.
Step 2. Open up the ‘WINDOWS’ folder and then go to the ‘SYSTEM32’ folder.
Step 3. Select the ‘DRIVERS’ folder and then go to the ‘ETC’ folder.
Step 4. Or instead just open the RUN feature of windows from start menu or using the shortcut keys of win+R and put this address:- c:\WINDOWS\system32\drivers\etc
Step 5. In this folder you will see many files, just select the ‘HOSTS’ file and view its properties.
Step 6. Under the security tab click the edit button that will open another pop window here select the ‘USERS’ you want to block the sites for and check all the options under the ‘PERMISSION for USERS’ heading, {modify, read and execute, read, write}.
Step 7. Click APPLY and then OK.
Step 8. Locate the ‘HOSTS’ file again and now open it with NOTEPAD.
Step 9. Go to the last line which would be
127.0.0.1 localhost
Step 10. Add in the line beneath this line
127.0.0.1 URL_of_the_website {without the https:// and www.}
Step 11. Like if you want to block twitter insert this line
127.0.0.1 twitter.com
Step 12. You are done just save the setting and the file. Now if you try to open those websites it will show error.
Now you must be wondering what happened with this tiny line, well now this line tells the browser to point the address to the IP 127.0.0.1 which is your device only. Hence, you are unable to open the web address.
cheers