Re: [squid-users] Web radio and WMP9

From: <gfvarone@dont-contact.us>
Date: Thu, 14 Oct 2004 14:12:11 +0200

English Version ;-)

Resolved:

1. Added the extensions .wma and .wmv at the following line, so it's impossible
to dowlonload these file types
acl BloccoExt url_regex -i \.mp3$ \.asx$ \.wma$ \.wmv$ \.avi$ \.mpeg$ \.mpg$
\.qt$ \.ram$ \.rm$ \.iso$ \.wav$ \.exe$

2. Created acl for the other two 2 mime types (maybe not necessary)
acl webRadioReq1 req_mime_type -i ^video/x-ms-asf$
acl webRadioReq2 req_mime_type -i ^application/vnd.ms.wms-hdr.asfv1$
acl webRadioReq3 req_mime_type -i ^application/x-mms-framed$
acl webRadioRep1 rep_mime_type -i ^video/x-ms-asf$
acl webRadioRep2 rep_mime_type -i ^application/vnd.ms.wms-hdr.asfv1$
acl webRadioRep3 rep_mime_type -i ^application/x-mms-framed$

3. Added this too...
acl WMP browser Windows-Media-Player/*

4. Created following rules
http_access deny BloccoExt !UtentiGold
http_access deny WMP !UtentiGold
http_access deny webRadioReq1 !UtentiGold
http_access deny webRadioReq2 !UtentiGold
http_access deny webRadioReq3 !UtentiGold

http_reply_access deny webRadioRep1 !UtentiGold
http_reply_access deny webRadioRep2 !UtentiGold
http_reply_access deny webRadioRep3 !UtentiGold

Notes:UtentiGold is an ip list of privileged users (CEO, ecc.)

In this mode, if I'm not a privileged user, I'm not able to open web radio
(example http://bbwms.libero.it/lifegate) with IE6 and WMP9, clicking on
a link or typing the url

Saluti/GfV
Received on Thu Oct 14 2004 - 06:12:11 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST