allowing users to access particular domains

From: Joel Taqueban <jtaqueba@dont-contact.us>
Date: Thu, 01 Jun 2000 18:47:38 +0800

Dear squid users,

I'm having problems getting my ACLs work on squid.

We wanted to restrict particular users from accessing only certain
sites. For example

                          gets to access:

    user1, user2 only www.fedex.com
                               www.ups.com

    user3, user4 only the above sites
                          pus: cnn.com
                               yahoo.com

    user5, user6 all sites

where the above users are valid users from my ldap server.

I tried defining this on my squid.conf file.

     acl allowedsites1 dstdomain fedex.com ups.com
     acl allowedsites2 dstdomain fedex.com ups.com yahoo.com
     cnn.com
     acl customer_service ident user1 user2
     acl supervisors ident user3 user4
     acl management ident user5 user6

     http_access allow allowedsites1 customer_service
     http_access allow allowedsites2 supervisors
     http_access allow management
     http_access deny all

However, user1 to user4 still could access sites that should have been
restricted for them. What seems to be wrong with my ACL above? Do I
have the right http_access definition for user5 and user6 who are in
'management' ACL?

Joel
Received on Thu Jun 01 2000 - 04:47:23 MDT

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