Re: [squid-users] Acl access

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 10 May 2001 19:23:05 +0200

Franco Battista (Baky) wrote:

> 5 users group : access1,access2,access3,access4,access5
> PC with ip address in access1 have no access

acl access1 src 1.2.3.4
http_access deny access1

[but this kind of rules is usually ignored by the administrator and
handled bu the "catch all" below]

> PC with ip address in access2 can access in url with word "aaa"

acl access2 src 1.2.3.5
acl aaa url_regex aaa
http_access allow access2 aaaa

> PC with ip address in access3 can access in url with word "bbb"

acl access2 src 1.2.3.6
acl bbb url_regex bbb
http_access allow access2 bbb

> PC with ip address in access4 can access in url with word "ccc"

[....]

> PC with ip address in access5 can access in every url

acl access5 src 1.2.3.7
http_access allow access5

and last you should have a "catch all" rule to deny everyone else access

http_access deny all
Received on Thu May 10 2001 - 11:25:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:55 MST