Block Youtube flash videos in Squid

Q: How to block Youtube fash videos in squid proxy server?

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

Was this helpfull ?


esudip said...

Thanks for the Script...

I am able to block the flash content but when user is trying through https:// the flash content is not blocking for example if user access the flash get blocked but when user types it won't...

Related Posts Plugin for WordPress, Blogger...

Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons