Block Websites on your Pc
Windows HOSTS file can be used to completely deny access to a website from a computer.
1. Locate the HOSTS file.
In Windows XP and Vista it is in C:\WINDOWS\system32\drivers\etc\
In Windows 2000 C:\WINNT\SYSTEM32\system32\drivers\etc\
In Windows 98 and ME it is in C:\WINDOWS\
2. Open it in Notepad and find the line 127.0.0.1 localhost at the bottom. Add the following lines below it.
127.0.0.1 facebook.com
127.0.0.1 orkut.com
The above lines will block facebook and orkut. Include sites with and without "www". Try all possible combinations for accessing the website and enter them in the list.
Eg to deny access to yahoo websites, see the list below.
127.0.0.1 yahoo.com
127.0.0.1 mail.yahoo.com
127.0.0.1 login.yahoo.com
3. Save the file.
This will block the entered sites from being accessed by any browser from your computer.
4. To restore access, just delete the lines
Comments