Nuffnang

Monday, November 18, 2013

Block Youtube flash videos in Squid

Steps to block all youtube flash videos in Squid proxy server
Add the below configurations to squid.conf file. 
[root@server ~#]vi /etc/squid/squid.conf

#1: Create an acl for flash video contents
acl flash rep_mime_type video/x-flv

#2: Deny flash videos by denying the above acl
http_reply_access deny flash

#Save the squid.conf file

#3: Reload squid service to take effect changes
[root@server ~#]service squid reload

No comments:

Post a Comment