Only the site name should be added to the list, this way when you type in an address or your browser gets sent to an address first it looks at the Hosts file and if it finds the address there then you don't see the page. The only IP address in the Hosts file is your own, 127.0.0.1.

Now if you run a web server like me then you have 2 IP addresses in this file, principally so that my error logs don't fill up every time a browser on my computers use the Hosts file. But most of you won't be running a web server and should have no need for the second IP.

Peter Kaulback

In the hour of 09:10 AM 5/30/2003 -0400, Lee Berenson spoke this:

Whoa! Let me understand-- if I want to BLOCK access to a specific site,
I can do this by editing the hosts file? If I add it's IP address and
name to that list it will prevent the computer from opening that site?

I have been looking for a way to block certain sites on my office
network,
(such as ebay, aol.com, etc.)

that would be easy if it would work!


Lee





-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Fisher Sent: Thursday, May 29, 2003 11:20 PM To: [EMAIL PROTECTED] Subject: RE: PCWorks: Read only File

Thank God there are others out there willing to stick their necks out to
help people avoid making a mistake from those messages telling them to
delete stuff.

I sent a message to another list, when they got the message about the
JS.Fortnight.B warning.  The part about deleting the URLs kind of
doesn't sit right with me.  I made the suggestion, that instead of
deleting the URLs, why not block them instead, changing the line to read
127.0.0.1 or 0.0.0.0 like the page at http://www.smartin-designs.com/
suggests.  That way, if another infection occurs, the sites are already
blocked and you don't have as many worries.

Thomas
War is delightful to those who have had no experience of it. --
Desiderius Erasmus

> -----Original Message-----
> From: [EMAIL PROTECTED]
> For information on using the "hosts" file, go to:
<http://www.accs-net.com/hosts/> and <http://www.smartin-designs.com/>.

Karl
============= PCWorks Mailing List =================
Don't see your post? Check our posting guidelines &
make sure you've followed proper posting procedures,
http://pcworkers.com/rules.htm
Contact list owner <[EMAIL PROTECTED]>
Unsubscribing and other changes: http://pcworkers.com
=====================================================

Reply via email to