RE: [SQU] ACLs in Squid

From: Chemolli Francesco (USI) <ChemolliF@dont-contact.us>
Date: Mon, 2 Oct 2000 13:16:11 +0200

> Hello...
>
> Is it possible for me to have websites blocked for certain
> users while being
> availible to others? Please help. Thanks..

yes, via ACLs.

acl allowed_users http_auth foo bar (*)
acl sensible_sites dstdomain .some.domain.com .some.other.domain.com (*)
acl all dst 0.0.0.0/0

http_access allow sensible_sites allowed_users (*)
http_access deny all

will do the trick (asterisks not included, of course).
Repeat ad libitum the lines marked by asterisks.
The "deny all" clause must be the LAST http_access line.

-- 
	/kinkie
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Oct 02 2000 - 05:10:42 MDT

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