> -----Original Message-----
> From: Hement Gopal [mailto:hementg@cns.wits.ac.za]
> 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
Received on Mon Oct 17 2005 - 14:31:13 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST