> -----Original Message-----
> From: Hement Gopal [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 13, 2005 11:27 PM
> To: squid
> Subject: [squid-users] blocking file types for all users with 
> exceptions
> ?
> 
> 
> Hi all
> 
> SQUID 2.5 STABLE5
> REDHAT 9
> 
> 
> I've denied all my users to download certain filetypes during 
> work hours 
> using the ff rule :
>
> http_access deny files workdays
> 
> wher files is a flat text file with various file types (mpeg, 
> avi, etc) 
> and workdays = mon-fri 7am-5pm
> 
> Is there a way I can put in an exception for certain users 
> who will not 
> be affected by this restriction.?
> 
> Rgds,
> Hement
> 
> 

Assuming you are using proxy_auth to gather the user name...

acl SpecialUsers proxy_auth user1 user2 user3

... then change this line...

http_access deny files workdays

... to ...

http_access deny files workdays !SpecialUsers

... and you should be set.

The FAQ (http://www.squid-cache.org/Doc/FAQ/) has a lot of good information on 
ACLs (http://www.squid-cache.org/Doc/FAQ/FAQ-10.html).  

Chris

Reply via email to