D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] OT: Temporary Block User

 

Hi All

On 20 Jul 2009, at 15:30, Rob Beard wrote:

Richard Brown wrote:
Is it possible to temporary block a user accessing the internet using
a netgear 834dg please?


I work at an office where occasionally another bloke brings his son in  
and promptly dumps in him front of a computer. He is not allowed to  
access the internet but as soon as his dad's back is turned - he fires  
up internet grabbing resource hungry stupid flash games.


Well with a proxy server (maybe an IPCop box or something like that) you
could block access to such sites, ideally I guess you could do with
something running Squidguard or Dansguardian.  That way you could
specify that games sites are blocked.  Or maybe if you could find out
what sites they are, add them to the hosts file and point them to 127.0.0.1

I assume it's a Windows XP/Vista box?

In which case the hosts file can be found in
C:\Windows\System32\Drivers\etc\hosts

(assuming Windows is installed on the C: drive).

An example of this which you can use to block the sites is...

127.0.0.1   www.microsoft.com

Put the destination IP address first, then the web site and then every
time something requests the site it will point to 127.0.0.1


Thanks for all the replies. Most helpful.

I think many of you replied saying pull the cord and it is the easiest but maybe not the most political solutions. There are family issues involved between mum and dad! But what I can do is the above. Thanks Rob.

Rich

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html