Re: [squid-users] Defining exceptions for URL acls

From: <apmailist_at_free.fr>
Date: Tue, 01 Sep 2009 16:00:05 +0200

Quoting pent 5971 <pent5971_at_gmail.com>:

> Hi,
>
> On a squid.conf which more than one acl groups for URL destinations
> filtering is configured , how can we
>
> let some choosen clients to have access to an acl group but still
> blocked by others?

You must define those "chosen clients"
- by their IP address
- by their username
- other

define some ACL's like :

acl users_allowed proxy_auth suzan romeo juliet
acl users_notallowed proxy_auth karen alan
these define clients by their authenticated username

with
acl AUTENT proxy_auth REQUIRED

> the acls are similiar like
>
acl myblocks url_regex blockmeifyoucan.com
http_access allow AUTENT myblock users_allowed
http_access deny AUTENT myblock users_notallowed
>
this allows "suzan romeo juliet" to access the "myblocks" sites.

acl blockedsites dstdomain .catchmeifyoucan.com
http_access deny blockedsites
>
this denies everyone from accessing the "blockedsites".

> etc.
BTW, finish off with :
http_access deny all

HTH

Andrew
Received on Tue Sep 01 2009 - 14:00:14 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 01 2009 - 12:00:05 MDT