Re: protecting streaming mp3 files with

  • From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 30 Oct 2007 13:11:19 -0700

MessageTypically it would be.

The trick is to put the links to the audio files within the m3u list like so =whatever.mp3

  And within the stream.php file, you use the syntax
  $GoTo = "MyHiddenFolder/Audio.mp3";

  You can further protect the $GoTo location by placing the declaration in a 
second file, with no read permissions, then reference it here like so

  It looks like, if you use a sufficient number of variables in the url, 
directly downloading is not possible. You will get a page not found error. 

  ----- Original Message ----- 
  From: Brent Harding 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Tuesday, October 30, 2007 12:57 PM
  Subject: Re: protecting streaming mp3 files with

  I didn't think this is even possible with anything. If one puts up a link to 
an m3u file, all the person has to do is right-click and hit save as, look at 
the text in the file, and put that address in to directly download.

    ----- Original Message ----- 
    From: Graham Hardy 
    To: programmingblind@xxxxxxxxxxxxx 
    Sent: Tuesday, October 30, 2007 2:10 PM
    Subject: RE: protecting streaming mp3 files with

    Hi Andy - Why would you want to do this? From a usability point of view, it 
isn't always pleasant to have to sit in front of a computer to listen to files; 
I would much prefer to listen to them on another device. Indeed, I find that I 
almost never make use of streams that cannot be downloaded, so it is likely to 
repel some of your visitors. Of course, it depends on the actual content: for 
instance, books must never be streamed (what if you wanted to stop halfway and 
then resume a few days later?), whereas music seems more workable this way, as 
does live content. -Graham.

    From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Andy B
    Sent: October 30, 2007 11:07 AM
    To: programmingblind@xxxxxxxxxxxxx
    Subject: protecting streaming mp3 files with


    I have to stream mp3 files from an 2.0 website. I am trying to 
figure out how you can let any visiter to the site play them but not download 
them. Most of the examples out there show how in flash, but is there another 

Other related posts: