I'm doing something similar to allow user "virusupdate" to access
".trendmicro.com" domain only. See the ACL example bellow:
acl password proxy_auth REQUIRED
acl virus_domain dstdomain .trendmicro.com
acl virus_user proxy_auth virusupdate
http_access allow virus_domain virus_user
http_access deny virus_user
http_access password
Hope that help,
Eric.
-----Original Message-----
From: Michael K Bender [mailto:benderm@marmail.ed.ray.com]
Sent: Wednesday, March 20, 2002 7:55 AM
To: squid-users@squid-cache.org
Subject: [squid-users] Blocking Sites
Hello,
I am currently using a proxy_auth ACL to control access through the squid
proxy. However, there are certain
users of mine that I want to only allow access to specific sites. I
understand what the ACL would be to do
that, but I want to make sure that the user is first authenticated, and then
limited to certain sites. I'm
not sure in what order to put these ACLs in order to achieve what I want.
I'm thinking that I'd put a
http_access deny !(sites they are allowed) (list of specific users from
ACL), and then the http_access allow
proxy_auth (list of all users from ACL). I'm looking for someone to either
tell me if I'm on the right track,
or if I'm completely off.
Thanks in advance,
Mike
-
*==========================================*
# Mike Bender Marlboro System Managers #
# benderm@sels.rsc.raytheon.com #
# 508.490.2849 #
*==========================================*
Received on Wed Mar 20 2002 - 06:17:42 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:00 MST