Re: Protecting Streaming Audio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, November 3, 2006 11:29 pm, Adam Gittins wrote:
>      I have had a question that has been bugging me for a while now.
> Say
> that I need to have a members website. Which I want to protect
> streaming
> audio (Real, or Windows Media), now all the pages I can protect with a
> MYSQL
> DB and PHP. But when it comes to protecting a url of a file or audio
> feed it
> becomes tricky. What is the procedure? Would I have to use the
> htaccess
> file? But then when I open a realaudio file it will ask for a username
> and
> passworld again..
>
> How does one protect an url - or do I have to copy the file to a temp
> dir
> and then after a set time delete it?
>
> Help, there must be a way..

If you use Apache it's pretty trivial to set up a ForceType in
.htaccess on:
stream_the_file_you_want.rm
stream_other_file.wma
so that that's REALLY a PHP script, which can check all kinds of
things to make sure access is legitimate, and then the script that is
masquereding as the .rm (or .wma) file can do a readfile() on the REAL
audio file.

Of course, both Real (ugh!) and WMA (ugh!) have their own DRM models
(ugh!) that you could employ...

Or you could just heed the lastest news in Billboard magazine that DRM
is broken, ineffective, and counter-productive to increasing your
revenue. :-)

Even the Major Labels are finally starting to figure this out, after
screwing it up for over a decade now...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux