Tuesday, January 31, 2012

How to BLOCK sites in SQUID, And allow only specific USERS

How to BLOCK sites in SQUID, And allow only specific USERS,
open
[root@localhost ~]#vi /etc/squid/squid.conf
make ACL

acl tempusers src "/etc/squid/tempusers"
acl tempsites url_regex -i "/etc/squid/tempsites"

http_access allow tempusers tempsites
http_access deny tempsites

0 comments: