Re: [squid-users] ACL auth

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 25 Aug 2011 02:15:56 +1200

On 24/08/11 20:59, Andrew Burger wrote:
> Hi there,
>
> I would like to know I have the following in m y squid.conf
>
> Should I wish to block a user from a website I do it that way.
>
> But now we got more then 100 users that use squid and I would like to
> setup like a external file where I can put in different sites to
> block different users.
>
> Because the problem now is if user "A" is block on facebook and user
> "B" is not and I want to block a site for user "B" and add him to the
> baduser name he will then be block from facebook as well.
>
> So I want to tell squid that this user is block from all this
> site's.
>

I suggest an external_acl_type helper script to produce OK/ERR
responses. With %LOGIN %DST (user domain) as input it can do whatever
you like, from any form of backend database.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.10
Received on Wed Aug 24 2011 - 14:16:53 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 25 2011 - 12:00:02 MDT