Re: [squid-users] blocking audio/video online

From: Boniforti Flavio <[email protected]>
Date: Tue, 19 Apr 2005 11:08:43 +0200

Alfredo Adam III wrote:
> hi,
>
> how to block playing songs online without downloading it? How to stop it?

Here my solution to online streaming multimedia contents:

acl streaming rep_mime_type ^video/x-ms-asf ^video/x-ms-sf ^audio/mpeg
^audio/x-mpeg ^audio/x-pn-realaudio ^application/x-mms-
framed ^application/vnd.ms.wms-hdr.asfv1

acl block_stream urlpath_regex
\.(ra?m|mpe?g?|mov|m3u|pls|ivf|asf|asx|avi|wax|wma|wmv|wvx|wmp|wmx|m1v|mp2|mp3|mpa|mpe|mpv2)($|
\?)

Then:

http_reply_access deny block_stream
http_reply_access deny streaming

HTH.

-- 
-----------------------------------
Boniforti Flavio
Provincia del Verbano-Cusio-Ossola
Ufficio Informatica
Tecnoparco del Lago Maggiore
Via dell'Industria, 25
28924 Verbania
-----------------------------------
Received on Tue Apr 19 2005 - 03:08:47 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT