Displaying 1 result from an estimated 1 matches for "allowedsites".
2007 Mar 28
0
How to limit a user to access a few sites. (SOLVED)
...with their ips to a few sites
rules added to squid.conf file
external_acl_type ip_user %SRC %LOGIN /usr/lib/squid/ip_user_check -f
/etc/squid/ip.conf
acl ncsa_users proxy_auth REQUIRED
acl ip_users external ip_user %SRC %LOGIN
acl clientips src 192.168.101.28 192.168.101.29 192.168.101.30
acl allowedsites url_regex -i "/etc/squid/allowedsites.txt"
http_access deny !ncsa_users
http_access deny !ip_users
http_access deny clientips !allowedsites
http_access allow ip_users clientips
http_access allow ip_users allowedsites
http_access allow ncsa_users clientips
http_access allow ncsa_users all...