Continued from page 1
For example, suppose you want to block a porn site that your teenager has been visiting, you might add an entry like one shown below.
127.0.0.2 www.pornsite.com
Banner ads are usually hosted on an advertiser's domain and linked to sites all over Web. Suppose you want to block annoying banner ads displayed at a site that you visit frequently. You might add an entry like one shown below.
127.0.0.3 www.adserver.com
Then when a file from that domain name is requested, instead of porn site or banner being displayed, browser will display message "The Page Cannot be Displayed".
When you save HOSTS file after editing, make sure that file name does not have an extension. Sometimes Windows Notepad adds extention .txt.
The HOSTS file is a quick, easy way to block access to a Web site. But if you use this method to block a porn site that your teenager has been visiting, make sure they don't find this article. ---------------------------------------------------------- Resource Box: Copyright(C)2002 Bucaro TecHelp. To learn how to maintain your computer and use it more effectively to design a Web site and make money on Web visit http://bucarotechelp.com To subscribe to Bucaro TecHelp Newsletter Send a blank email to mailto:bucarotechelp-subscribe@topica.com ----------------------------------------------------------
None