Re: selective deny access

From: Michael Fuhr <>
Date: Sat, 13 Sep 1997 08:47:19 -0600

On Sep 13, wrote:

> I know that squid can be configured to block access to some
> sites, but what i want is to block certain machines only:
> e.g.
> "Machine A" can access "this site" but not "that site"
> "Machine B" can access "any site"
> ....
> ....
> so on an so forth

Combine the "src" and "dst" ACL types:

    acl machine_a src
    acl machine_b src
    acl this_site dst
    acl that_site dst
    acl any_site dst

    http_access allow machine_a this_site
    http_access deny machine_a that_site
    http_access allow machine_b any_site

Michael Fuhr
Received on Sat Sep 13 1997 - 07:49:01 MDT

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