i configure squid to authenticate using win AD, but users can connect from different ip address and i cant set policy base on ip for different user.
is any way to set acl base on username?
i found ident
http://www.visolve.com/squid/squid24s1/access_controls.php
is it work for my testcase?
Best Answer
You need to define and use ACLs of type
proxy_auth
; as per the page you linked:This way, Squid will authenticate the users using any authentication method you choose (you said this is already in place, so you should have no problem here), and then you will be able to filter access based on usernames.
Sample configuration:
This will only allow user1, user2 and user3 to access the web.