Answer the question
In order to leave comments, you need to log in
How to deny access to some users in Squid?
Is available squid, authorization of users from the windows domain on kerberos.
There was a task for certain users of the domain in general to prohibit access to the Internet. Somehow it is possible to make ACL or something similar on specific users/groups?
acl denyusers ident user05
http_access deny denyusers
Answer the question
In order to leave comments, you need to log in
Well, for example, how we made some people have access only to office sites:
File /etc/squid/policy/minimum.acl:
[email protected]
[email protected]
auth_param negotiate program /usr/lib64/squid/negotiate_kerberos_auth -k /etc/proxy.keytab -s HTTP/[email protected]
auth_param negotiate children 30 startup=0 idle=1
auth_param negotiate keep_alive on
acl minimum_acl proxy_auth -i "/etc/squid/policy/minimum.acl"
acl all_dst dst all
acl oursites url_regex -i "/etc/squid/policy/oursites.url"
http_access allow oursites
http_access deny minimum_acl all_dst
http_access allow minimum_acl
http_access deny all_acl
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question