Re: [squid-users] Fwd: %path% in acl list squid 2.6

From: John Doe <jdmls_at_yahoo.com>
Date: Thu, 19 Aug 2010 01:56:54 -0700 (PDT)

From: sushi squid <sushi.squid_at_gmail.com>
>On Wed, Aug 18, 2010 at 2:52 PM, John Doe <jdmls_at_yahoo.com> wrote:
>>Either amos way, or you could use an external_acl script that will be able to
>>get %userprofile%, but that means you will have to handle the whitelist
>>yourself...
>@John's solution : i didn't understand what you meant by "i have to manage the
>whitelist on my own" ??

Did you check how external_acl works?
You have to write the external acl script... so you have to write the whitelist
code too.
Squid calls your script and gives you a few variables (url, etc...).
You script does whatever checks it wants and tells squid if it is allowed or
not.
By example, your script could:
 - check %userprofile%
 - Select the right whitelist
 - Check if the requested url is in the whitelist
 - Allow or deny.

JD

      
Received on Thu Aug 19 2010 - 08:57:05 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 19 2010 - 12:00:02 MDT