Sunday, October 22, 2006

Learn How to Block Access to Selected Websites

Blocking access to websites is nothing new. For example, you can use Internet Explorer’s content advisor to block access to websites with objectionable content (e.g. pornography, gambling, etc.). But, how to block access to specific websites, not based on content, is not so straightforward. For example, how would a mother with a teenager daughter block access to MySpace? Well, one way is to edit the hosts file. I have written about Windows hosts file in the past. If you are not familiar with the hosts file then read through the article before proceeding.

How does editing the hosts file block websites? Well, Windows always searches the hosts file for a website’s IP address before searching for it on a DNS server. If you change the IP address of an URL, you essentially redirect the web browser to that assigned IP address. A computer’s IP address is (a.k.a localhost). Whenever you change an URL’s IP address to, you redirect your web browser back to itself. In other words, it leads to a dead end.

First, create a system restore point just in case things go wrong. Next, you need to download Hoster, a free hosts file manager. Hoster does not need to be installed. Instead, just double click the .exe file and it will launch the manager. Hoster is divided in to two panels. The left panel displays the hosts file, while the controls are on the right panel. If the hosts file is marked as read-only, click [Make Hosts Writable?]. You can make a backup of the original hosts file by clicking [Create Backup Hosts File]. By default, the backup will be saved to the folder which contains the hoster.exe file. Now, you are ready to edit the hosts file. In the blank box, enter the URL of the website you want to block and click [Add to Hosts File]. For example, if you want to block MySpace then you would enter (without the quotation marks). Repeat these two steps to enter additional sites to be blocked. When you are finished, just exit the program. It is that easy.


Anonymous said...

how do u block the site

Anonymous said...

Can anyone recommend the robust Remote Desktop software for a small IT service company like mine? Does anyone use or How do they compare to these guys I found recently: N-able N-central remote support manager
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Anonymous said...

I don't know about robust remote desktop software... I am using a software Folder Protect to block unauthorized access to my files and it's working perfectly on my Windows XP operating system. I would recommend using Folder Protect to block access to your files.

shoppingugg said...

discount Abercrombie and Fitch Abercrombie and Fitch sale Abercrombie and Fitch sale buy Abercrombie and Fitch buy Abercrombie and Fitch Abercrombie and Fitch shop Abercrombie and Fitch shop Abercrombie and Fitch store Abercrombie and Fitch store Cheap Abercrombie Fitch Cheap Abercrombie Fitch links of london links of london Thank you for the information

Anonymous said...

buy MBT shoes
sale mbt shoes sale
online cheap mbt shoes
free shipping discount mbt shoes
cheap mbt shoes us
like MBT Shoes discount
a good cheap Mbt Shoes sale
love discount Mbt Shoes sale but mbt discount shoes on sale mbt shoes on sale usa usa mbt shoes for sale buy cheap mbt shoes to sell mbt shoes usa online cheapest mbt shoes store I’d like why MBT shoes cheap Here mbt shoes sale in usa Sell mbt shoes on sale buy cheap us shoes to buy Mbt Shoes discount sell cheap Mbt Shoes sale good discount Mbt Shoes sale

mbt shoes said...

if you buy mbt shoes you will like mbt lami and mbt lami shoes or mbt m.walk for mbt m.walk shoes but MBT Chapa is more mbt chapa shoes than MBT Kaya that mbt kaya shoes good cheap mbt lami shoes stuff discount mbt lami shoes today cheap mbt m.walk shoes best discount mbt m.walk shoes online cheap MBT Chapa shoes sale discount mbt chapa shoes things is cheap mbt kaya shoes and discount mbt kaya shoes

Anonymous said...

How can editingguild wars 2 key and enhancing this contains report prohibit websites? Well, Glass windows often queries your contains file for a new website’s IP address just before looking it up RS goldon a DNS web server