user name based access control in squid.
I have configured squid proxy on centos 5.5 and some of my squid.conf file has following lines
How can I configure this in squid. Your help highly appreciated.
Did you mean to mark this "[SOLVED]"?
If so kindly post the solution -- it might help someone else w/ the same problem.
Problem solved as follows....
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
acl Controlled_sites dstdomain "/etc/squid/controlled_sites.squid"
#where controlled_sites.squid contain sites that need to allow
acl www_controlled_users proxy_auth "/etc/squid/controlled_users.squid"
#where controlled_users.squid contain user names that need to allow
http_access allow www_controlled_users Controlled_sites
#allowing those users for sites
acl office src 192.168.1.0/24
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users office
Thanks for responding w/ the solution.
|All times are GMT -5. The time now is 02:42 PM.|