Académique Documents
Professionnel Documents
Culture Documents
sudo htpasswd -c /etc/squid/passwd dad Enter a password Again: htpasswd /etc/squid/passwd kid Another password: Again:
ACCESS CONTROLS (acl) sections in Squid.conf: acl dadUser proxy_auth dad acl kidUser proxy_auth kid acl whitelist dstdomain "/etc/squid/whitelist" http_access allow dadUser http_access allow kidUser whitelist
# TAG: auth_param #Recommended minimum configuration per scheme: auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd # ACCESS CONTROLS # TAG: acl acl dadUser proxy_auth dad acl kidUser proxy_auth kid acl whitelist dstdomain "/etc/squid/whitelist" http_access allow dadUser http_access allow kidUser whitelist # TAG: http_access # And finally deny all other access to this proxy http_access deny all