Re: ACL question.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 27 Oct 1998 02:18:33 +0100

Dave A. Flanigan wrote:

> Is it possible to build an acl that allows specific IPs to
> access only specific sites, but allows all other IPs to access
> any site?

acl restricted_terminals src 1.2.3.4 1.2.3.5 1.2.3.6
acl open_sites dstdomain www.host.net www2.host.net

# deny restricted terminals access to anything but the open sites
http_access deny restricted_terminals !open_sites

---
Henrik Nordstrom
Spare time Squid hacker
Received on Mon Oct 26 1998 - 18:14:33 MST

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