You are here: Re: Protecting mp3 files on website? « PHP Programming Language « IT news, forums, messages
Re: Protecting mp3 files on website?

Posted by Sanders Kaufman on 12/01/06 03:32

>> I have a website where I host guitar lessons. I force people to register in
>> order to listen to audio. But I don't think I am using a good method for
>> protecting the files and preventing people from reverse engineering to
>> figure out the link.


How about something like -
"http://www.blahblahblah.net/membersonly.php?Lesson1.mp3"

Then, if they're logged in, copy the MP3 from an off-web directory into
a temporary unique filename.
When the session ends, delete the uniquely named mp3.

If someone gets that filename, they'll only get a taste of it before the
real user ends their session and the file disappears.

Of course, this idea isn't much good if you don't have a lot of
directory space - because like if all of your users want lesson one at
the same time - a copy will be made for each and every user.

Even then a 10MB MP3 accessed by 100 users at the same time will only be
one GB... and you'll get it back when they're done.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация