Monday, July 6, 2009

Block users from accessing some websites

It is quite simple. Just add the website name along with the local host IP address to the hosts file in your Windows directory.

Let me explain: Suppose you do not want anyone to access the website ‘www.XXXXXX.com’, just add the line ‘127.0.0.1 www.XXXXXX.com’ at the end of the file ‘hosts’ found in ‘C:\Windows\ system32\drivers\etc\’.

You can open the file using Notepad. If you ever need to access that website later, just delete the line or add a semicolon to the beginning of the line.

Similarly, you can add as many websites as you want to block your computer from accessing.

0 comments: