Re: disallow surfing to certain sites?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Baruch (baruch01_at_N0sbcglobal.net$PAM)
Date: 05/21/04


Date: Fri, 21 May 2004 02:39:27 GMT

On Thu, 20 May 2004 10:58:37 -0400, "Lisa Simpson" <noone@nowhere.com>
wrote:

|>How to disallow surfing to certain sites using IE6?
|>
I suggest you edit your hosts file. This is a file that will redirect
your computer to an IP address you specify, if the site name appears
in the file.

The hosts file may be located in different folders, depending on your
version of Windows. You can do a search for it to find it. The hosts
file has no extension - its name is simply, "hosts".

Once you find hosts, open it with Notepad. You should find, at least,
the following entry:

127.0.0.0 localhost

The numbers are the IP address (in this case, it refers to your own
computer). "Localhost" is the name of the "site", again, your own
computer.

So, let's say you want to disallow surfing to nastysite.com. You
could add the following line:

127.0.0.0 nastysite.com

And so on, for each site you don't want to visit. When you (or
someone using your computer) tried to access nastysite.com, they'd be
redirected back to your own computer, which would generally give you
an error message. If you wanted to do something like redirect the
browser to another Website, you could put that Website's IP number
instead of 127.0.0.0.

As I understand it, if you can get to nastysite.com either by using
nastysite.com or www.nastysite.com, you will need to enter both
possibilities.

Hope this helps.



Relevant Pages

  • Re: search results get redirected
    ... Windows XP computer seems to have a redirect spyware/virus messing with ... you go back to the Google search results and click the link the second ... I changed the DNS servers to OpenDNS. ... Hijack This gave me a clue that the HOSTS ...
    (alt.comp.anti-virus)
  • Re: allow line break at operators
    ... Windows become case-insensitive for the remainder simply because Windows ... I certainly could write an HTTP server on Linux which treated ... Hosts don't decide anything. ... To use the wikipedia example again, there are lots of redirect entries, ...
    (comp.lang.python)
  • Re: Getting "ICMP Host redirect from gateway" response
    ... A "redirect" occurs ... to all hosts this message. ... The error is a unicast message, ... your host act as an router nobody will feel this difference (all requests ...
    (comp.os.linux.networking)
  • Re: 2 versions of same page, same datacenter, different cache?
    ... my hosts are doing? ... Windows is case insensitive, ... Or at least redirect one to the ... Get started with a SEO report of your site: ...
    (alt.internet.search-engines)
  • Re: "we have been hacked"
    ... but those are the correct instructions. ... >all patches for your computer from the Windows Update Site ... Clear your 'hosts' file. ... >will bring up a list of programs to edit the file with. ...
    (microsoft.public.inetserver.iis.security)