[squid-users] Trouble limiting access to rutube

From: awarecons <awarecons_at_gmail.com>
Date: Thu, 15 Mar 2012 23:08:22 +0400

Suddenly it turned out that it's impossible to deny video from
www.rutube.ru by Squid means. There is the only intend to cut off
video, not shockwave nor java-scripts.

Rutube.ru uses inframe incapsulation of video via java-script. Example:
http://rutube.ru/tracks/4567054.html
piece of code:
<script type="text/javascript">
var rt_referer = escape(location.href); playMovie('pid',
'http://rutube.ru/player.swf?buffer_first=1.0&file=http%3A%2F%2Fbl.rutube.ru%2Fdb9decb3ae2341724c72e6490b028cfd.iflv&xurl=http%3A%2F%2Frutube.ru%2Ftrackinfo%2Fdb9decb3ae2341724c72e6490b028cfd.html%3Fad_ids%3D&image=http%3A%2F%2Ftub.rutube.ru%2Fthumbs%2Fdb%2F9d%2Fdb9decb3ae2341724c72e6490b028cfd-1.jpg&&autoload=true&fsb=true&logo=false&newWnd=false&rAngle=0&uid=3692805&referer='
+ rt_referer);
</script>

So it freely passes through rep_mime_type, rep_header, url_regex ().

Please, give me solution how Squid and/or SquidGuard could cut off
video, not disabling access to site itself. Approach is to deny video
content, not site itself.

NB Using rep_mime_type, rep_header, url_regex works fine with
youtube.com - it lets to download shockwave player, but player is
unable to download and play video.

Thank you in advance. Looking forward to the closest friendliness of
Squid+SquidGuard as www.gfi.com (MS ISA srv+GFI WebMonitor) give.
Received on Thu Mar 15 2012 - 19:08:33 MDT

This archive was generated by hypermail 2.2.0 : Fri Mar 16 2012 - 12:00:04 MDT