Block social networking website for specific user


Here i am going to create a acl for denying social networking website for specific user.

#vim /etc/squid/squid.conf
#create acl rule
acl limited_user src 192.168.0.10 192.168.0.11
acl socialsites dstdomain  .facebook.com .youtube.com 

#apply rule

http_access  allow limited_user !socialsites

#service squid reload