How do you block certain websites? I got in a fight with my lil brother and I completely had it. He's always using my computer and leaving it a total mess. He plays dumb games and starts abusing the keyboard, and doesn't get off when I need to use it for homework and starts crying like a baby. Anyways I see that he only goes to certain kiddie websites, so I wanna know how to block accessibility of certain websites. That way he might give and leave my computer alone.
theymos answered Wednesday May 7 2008, 6:36 pm: Go to start, run. Type this:
explorer %SYSTEMDRIVE%windowssystem32driversetc
In the window that opens, right click the file called "hosts", go to "properties", and uncheck "read-only". Then open "hosts" with notepad.
You need to put all text at the BOTTOM of the hosts file. Do not remove anything already there. To block a site, put a 0, then a space, then the site. Make sure you do NOT include www., http://, or any anything after the domain.
This will block google:
0 google.com
This will block ONLY mail.google.com:
0 mail.google.com
These will not work correctly:
0 http:// google.com
0 google.com/something
0 www.google.com
After you've added all the entires you want, save the file in notepad. Then go to start, run and type this:
ipconfig /flushdns
The sites are now blocked. Whenever someone tries to visit the site, they should get an error when trying to connect.
If you forget how to manipulate the hosts file, you may have a hard time fixing this. This is far from the first thing a tech support person would look for. You might want to bookmark this page. [ theymos's advice column | Ask theymos A Question ]
Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content. Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.