How do I block certain websites from being accessed through a browser?

12,584

Solution 1

If you know the names of the sites, edit the hosts file (c:\windows\system32\drivers\etc\hosts) and put

127.0.0.1       www.site.com
127.0.0.1       site.com

This should stop him from visiting the sites.

That aside, there are many plugins available, but they would be easy to get around. I know if you use OpenDNS as your DNS provider (may need to change a setting on your pc or the router), If you sign up for a (free) account, I believe that you can filter games.

Solution 2

  1. The OpenDNS way is a good idea -- a reference.
    • PeerGuardian is a good application to check -- here is a review.
    • This is a good option if your router cannot be easily configured for the purpose.
    • ProCon Latte is a firefox specific addon (and brOOzi is another experimental addon)
    • would not be good for a system wide filter (for any browser)

Solution 3

Proxomitron is one of the most efficient web filtering applications under the sun.

on Siski's website you'll find well maintained configuration files.

Proxomitron is freeware and works for any browser.

Solution 4

You can edit your C:\Windows\System32\drivers\etc\host file to mess with the DNS settings for this.

For example - add a line like so:

1.2.3.4    localhost

where 1.2.3.4 is the IP address of the gaming site in question. Assuming the little brother in question doesn't have admin access to the box - he shouldn't be able to change it.

Also - this will work for ANY network connection to the site (assuming the little brother doesn't go directly by IP).

Share:
12,584

Related videos on Youtube

iamcrypticcoder
Author by

iamcrypticcoder

Updated on September 17, 2022

Comments

  • iamcrypticcoder
    iamcrypticcoder over 1 year

    A friend of mine (who is not a geek) asks me how to stop her little brother from playing web games on her computer. She is currently using Chrome and IE, and I have never done that before, even on FF.

    I would prefer a solution that is simple and does not require additional applications.

    Although it seems unlikely, is there a solution that works for all browsers (i.e. do it once and I never have to fix it for a new browser)?

  • tgbarnett
    tgbarnett over 14 years
    Signing up for a free account will let you filter/block games sites, as well as other sites. You can also black list sites of your choice. However solutions such as these also limit your ability to play games.
  • Gerald
    Gerald over 11 years
    No. That's in reverse. You want to set the gaming site domain to the loopback IP address, not set the localhost domain to the gaming site IP address.
  • Chris McGrath
    Chris McGrath over 11 years
    a lot of routers have this support built in now too but this will affect the entire network unless the specific router has ip range support for the blocking
  • user124384
    user124384 about 7 years
    Works like a charm. (In OSX, the file is /etc/hosts.)