[squid-users] Defining exceptions for URL acls

2009-09-01 Thread pent 5971
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?


the acls are similiar like

acl myblocks  url_regex blockmeifyoucan.com

http_access myblock deny

acl blockedsites dstdomain .catchmeifyoucan.com
http_access deny blockedsites.

etc.


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

2009-09-01 Thread apmailist
Quoting pent 5971 pent5...@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