Search squid archive

Re: Defining exceptions for URL acls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting pent 5971 <pent5971@xxxxxxxxx>:

> 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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux