Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
An easy way to block youtube et al - free of charge
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: An easy way to block youtube et al - free of c...
An easy way to block youtube et al - free of charge
05-10-2007 9:00 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
For those with kids who don't do their homework:-
An easy way to block them from their favourite sites is to add a few lines to your HOSTS file. This will block all users of the computer at one go.
Note that youtube and myspace provide "proxies" (a forwarding mechanism) to allow the brats to use those sites at school and elsewhere.
A selection of sites that works for me is:-
Add these lines to HOSTS (don't include the ========= lines)!
============================================
#BLOCK these
127.0.0.1 uk.youtube.com
127.0.0.1 www.youtube.com
127.0.0.1 m.youtube.com
127.0.0.1 www.topyoutubevideos.com
127.0.0.1 www.myspace.com
127.0.0.1 profile.myspace.com
127.0.0.1 viewmorepics.myspace.com
127.0.0.1 comment.myspace.com
127.0.0.1 www.facebook.com
127.0.0.1 bulletins.myspace.com
127.0.0.1 youtube.com
127.0.0.1 nl.youtube.com
127.0.0.1 www.myspaceproxy1.com
=========================================
You might like to add msn to these (that's allowed - for now)
This is not bullet proof - these sites add new URL's all the time in order to block simple changes like this.
BTW If you are a Windows user you may need to reboot - who knows?
An easy way to block them from their favourite sites is to add a few lines to your HOSTS file. This will block all users of the computer at one go.
Note that youtube and myspace provide "proxies" (a forwarding mechanism) to allow the brats to use those sites at school and elsewhere.
A selection of sites that works for me is:-
Add these lines to HOSTS (don't include the ========= lines)!
============================================
#BLOCK these
127.0.0.1 uk.youtube.com
127.0.0.1 www.youtube.com
127.0.0.1 m.youtube.com
127.0.0.1 www.topyoutubevideos.com
127.0.0.1 www.myspace.com
127.0.0.1 profile.myspace.com
127.0.0.1 viewmorepics.myspace.com
127.0.0.1 comment.myspace.com
127.0.0.1 www.facebook.com
127.0.0.1 bulletins.myspace.com
127.0.0.1 youtube.com
127.0.0.1 nl.youtube.com
127.0.0.1 www.myspaceproxy1.com
=========================================
You might like to add msn to these (that's allowed - for now)
This is not bullet proof - these sites add new URL's all the time in order to block simple changes like this.
BTW If you are a Windows user you may need to reboot - who knows?
"In The Beginning Was The Word, And The Word Was Aardvark."
7 REPLIES 7
Re: An easy way to block youtube et al - free of charge
05-10-2007 9:39 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yes a reboot is necessary and while your there its also worth ticking the read only box under properties then your host file cant be changed by outside nasties
Re: An easy way to block youtube et al - free of charge
07-10-2007 11:46 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
If you want to block MSN as well, add these to your hosts file.
127.0.0.1 gateway.messenger.hotmail.com
127.0.0.1 messenger.hotmail.com
127.0.0.1 webmessenger.msn.com
(or use 0.0.0.0 if you have a webserver running)
Couple of caveats though: -
The first two will block Live Messenger from connecting - it won't stop Windows Messenger, installed by default on XP. If you want to block that, it's going to take a registry edit, included below.
Live Messenger will throw up an error when it tries to connect and offers a "Troubleshoot" button, which will then present a list of things that are preventing the connection - hosts file being one of them. Now, if your kids don't know what the hosts file is, then it's quite easy to get around this, and Live Messengers ability to "fix" the hosts file. Just change the properties of the file to be Read Only, and Live Messenger is unable to correct the issue. If your kids do know what the hosts file is, then they are going to be able to undo your changes anyway.
The third line will stop your homework dodging kids from connecting via a web interface to MSN.
Warning.... Editting the registry can be dangerous - If you don't know what I'm talking about below, then don't do it.
If you want to stop the original XP Windows Messenger from connecting, then use Start->Run->Regedit.
Navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Messenger\Client
You may need to create the Keys for Microsoft and Messenger if they aren't already there, just make sure you create them to match the structure given above. Then under the Client key, create a new DWord named PreventRun. Set the Value to 1. Reboot. Now Windows Messenger won't run. Live Messenger will, but the hosts addition above will sort that out.
127.0.0.1 gateway.messenger.hotmail.com
127.0.0.1 messenger.hotmail.com
127.0.0.1 webmessenger.msn.com
(or use 0.0.0.0 if you have a webserver running)
Couple of caveats though: -
The first two will block Live Messenger from connecting - it won't stop Windows Messenger, installed by default on XP. If you want to block that, it's going to take a registry edit, included below.
Live Messenger will throw up an error when it tries to connect and offers a "Troubleshoot" button, which will then present a list of things that are preventing the connection - hosts file being one of them. Now, if your kids don't know what the hosts file is, then it's quite easy to get around this, and Live Messengers ability to "fix" the hosts file. Just change the properties of the file to be Read Only, and Live Messenger is unable to correct the issue. If your kids do know what the hosts file is, then they are going to be able to undo your changes anyway.
The third line will stop your homework dodging kids from connecting via a web interface to MSN.
Warning.... Editting the registry can be dangerous - If you don't know what I'm talking about below, then don't do it.
If you want to stop the original XP Windows Messenger from connecting, then use Start->Run->Regedit.
Navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Messenger\Client
You may need to create the Keys for Microsoft and Messenger if they aren't already there, just make sure you create them to match the structure given above. Then under the Client key, create a new DWord named PreventRun. Set the Value to 1. Reboot. Now Windows Messenger won't run. Live Messenger will, but the hosts addition above will sort that out.
Re: An easy way to block youtube et al - free of charge
07-10-2007 2:58 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
No need to edit the registry just run Shoot The Messenger.
Re: An easy way to block youtube et al - free of charge
07-10-2007 3:33 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Peter No need to edit the registry just run Shoot The Messenger.
From what I can see in what you posted Peter, that's just relating to the Messenger service. The registry edits were to stop Windows Messenger (the IM client).
Re: An easy way to block youtube et al - free of charge
07-10-2007 3:46 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yup, Mike has hit the nail right on the head. Shoot the Messenger stops the Windows Messenger service, not the Windows Messenger IM client - they aren't the same beast.
Perhaps it would have been less confusing if Microsoft hadn't called them the same thing. Then again, if you aren't sat behind at least one firewall (Hardware or software) it is still a good idea to stop the Messenger service.
Perhaps it would have been less confusing if Microsoft hadn't called them the same thing. Then again, if you aren't sat behind at least one firewall (Hardware or software) it is still a good idea to stop the Messenger service.
Re: An easy way to block youtube et al - free of charge
09-10-2007 12:01 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
My post was just a reply to the regedit example posted by Phil_E.
Re: An easy way to block youtube et al - free of charge
09-10-2007 12:05 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Peter My post was just a reply to the regedit example posted by Phil_E.
They were for two different things though. The Shoot the Messenger application is for Messenger service, and the registry alterations were to stop Windows Messenger from loading.
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: An easy way to block youtube et al - free of c...