1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Blocking a particular site in IE7

Discussion in 'General Internet' started by MitchellCooley, 2007/06/04.

  1. 2007/06/04
    MitchellCooley Lifetime Subscription

    MitchellCooley Inactive Thread Starter

    Joined:
    2006/12/02
    Messages:
    1,090
    Likes Received:
    20
    Is there a way to block a web site in IE7. When the user types in the address I want it to respond with unable to find site or unable to connect to site or something like that?

    My daughter's friends come over and go to a particular site and I want to block it.

    Is there an easy way?

    Can I add a redirect in my hosts file????
     
  2. 2007/06/04
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,315
    Likes Received:
    252
    Tools->Options->Security tab->Restricted sites
     

  3. to hide this advert.

  4. 2007/06/04
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Steve-
    The restricted Zone won't stop a site from loading in the browser window, but it will stop cookies and scripting and other things. To block the site completely one must use the HOSTS file or 3rd party software.

    For example, to totally block yahoo.com using the HOSTS file one needs to add a line such as this to the HOSTS file:
    Code:
    #start of blocked sites list
    # [Kids list]
    127.0.0.1  yahoo.com
    
    127.0.0.1 = local host = comp being used and yahoo.com is not hosted on the local comp = "page cannot be displayed ".

    more info here:
    http://www.mvps.org/winhelp2002/hosts.htm
     
    Last edited: 2007/06/04
  5. 2007/06/05
    MitchellCooley Lifetime Subscription

    MitchellCooley Inactive Thread Starter

    Joined:
    2006/12/02
    Messages:
    1,090
    Likes Received:
    20
    Got it in the Hosts file. All is well.

    Thanks

    Mitch
     
  6. 2007/06/05
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Just don't forget you use the hosts file to block sites. Sometimes, in the future, one decides to allow such sites for kids or employees and then pulls hair out trying to figure out why a site won't load!
     
  7. 2007/06/07
    MitchellCooley Lifetime Subscription

    MitchellCooley Inactive Thread Starter

    Joined:
    2006/12/02
    Messages:
    1,090
    Likes Received:
    20
    Understood. It would be somewhat funny though, a year from now going crazy trying to load a site, uninstalling-reinstalling to no avail.....

    But not to worry....no one from this house will ever be going to that site.

    Mitch
     
  8. 2007/06/07
    mailman Lifetime Subscription

    mailman Geek Member

    Joined:
    2004/01/17
    Messages:
    1,901
    Likes Received:
    11
    Hi, guys. :)

    On my Win XP Home SP2, [FONT= "Courier New"]127.0.0.1 yahoo.com[/FONT] in the HOSTS file will block access to http://yahoo.com but it will not block access to http://www.yahoo.com

    Therefore, Mitch, you might want to add entries to the HOSTS to cover all bases.

    EDIT: Depending on how computer-savvy your daughter and her friends are (assuming you have them use a Guest account), I suggest you also make the HOSTS read-only or otherwise limit their ability to view/modify the HOSTS file.
     
    Last edited: 2007/06/07
  9. 2007/06/12
    MitchellCooley Lifetime Subscription

    MitchellCooley Inactive Thread Starter

    Joined:
    2006/12/02
    Messages:
    1,090
    Likes Received:
    20
    so far so good. Added an *. in front of the last part of the domain just in case there were other similar sites.

    Tested it with yahoo.com and couldn't get to mail.yahoo.com so hope it is working... history so far has shown things to be working the way I want them to.

    Mitch
     
  10. 2007/06/12
    mailman Lifetime Subscription

    mailman Geek Member

    Joined:
    2004/01/17
    Messages:
    1,901
    Likes Received:
    11
    Hi, Mitch. :)

    In case you aren't aware of the MVPS HOSTS file, here's a link to information. (If you use Windows Vista, be sure to also read the Windows Vista information.)

    MVPS also states,
    Here's a direct link to the MVPS hosts.zip file.

    If you rename your current HOSTS file to HOSTS.OLD and then unzip the MVPS HOSTS file to the same folder, that HOSTS file will help prevent access to many unknown-to-you "questionable" sites.

    You can then add your own custom 127.0.0.1 entries to that file as well. (Just be sure your custom-made entries are AFTER the 127.0.0.1 localhost entry, which must be first in the list in any HOSTS file you use.)


    NOTE: If you use SpySweeper, according to MVPS,

    Also...

    Depending on how much you trust your daughter and her friends, if you (or a willing friend) have administrative access to a web server somewhere that your daugther and her friends are highly unlikely to visit, then you could create custom HOSTS entries (for *.yahoo.com or whatever) with the web server's IP address instead of 127.0.0.1 and periodically review the web server's connection logs to see if connections were made from your own computer's IP address.

    This idea would work best if your computer has a static (non-changing) IP address (as in some broadband accounts).

    If your computer's IP address changes frequently (in a dial-up account, for example), then you could cross-reference your computer's connection logs to the web server's connection logs. Norton SystemWorks (NSW), for example, has a "Connections" viewer in its "Norton Internet Worm Protection" section.

    A locally-installed connection log utility might even negate the need for administrative access to a web server.

    If you don't use NSW, then perhaps free connection log utilities are available on the net that will suit your needs. If you want to investigate this route, then please let us know and I'll see what I can find. I like tinkering with different utilities so it would probably be fun for me. :)
     
    Last edited: 2007/06/12

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.