Originally Posted by leejohnli
hi, guys, is it possible to block embedded videos on facebook? I want the users be able to access facebook but not to view videos on it.
You can block certain types of content based on the MIME type (such as flash video), but if the link goes to different sites (Vimeo, Vine, YouTube, etc.), those types may be different, and you'll only block SOME of the data. Squid doesn't/can't do content inspection.
For example, to block flash video:
- Create an ACL for the MIME type in question:
acl deny_rep_mime_flashvideo rep_mime_type video/x-flv
- Create an HTTP Reply ACL which denies access to that MIME type:
http_reply_access deny deny_rep_mime_flashvideo