[K12OSN] How to block myspace.com

Doug Simpson veewee77 at alltel.net
Wed May 24 23:56:41 UTC 2006

One easy way to do this is to go into the /etc/hosts file and add these 
sites at the end.

examples: myspace.com www.myspace.com what.ever.else.com

Do not disturb the first line in there!!!! It has to be there 
and correct for some things to work right.

What this will do os cause the server to oint attemped connections to 
the localhost.  If you have a webserver running, it will show your local 
site. . .

Quick and dirty, but you will drive yourself nutz trying to keep up with 
all the variations of sites. . .

There are places you can get lists of thousands of entries to ut in the 
/etc/hosts file that will do this very effectively.  If I can remember, 
I will look that info u later. . .


Dave Prentice wrote:

> Hello,
> I'm sure this has been dealt with before, but I can't figure out how 
> to search the archives. Is there an easy way on K12LTSP to prevent 
> students from logging on to myspace.com? I've heard so many potential 
> dangers that I don't want them accessing it from school.
> Thanks,
> Dave Prentice
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>

More information about the K12OSN mailing list