|
#1
|
|||
|
|||
|
I am developing a site which will allow users to listen to Mp3 files from consenting artists. What I do not want to happen, is to lose the trust of my artists and have their material downloaded without their consent. I am setting up an embedded flash player which will play their music directly off the site. However, if you "view" the source code page, a knowledgable individual can see the file path where the files are located. So, all they would need to do is type out the full path in the URL, a media player then opens up, thus, allowing the user to download the file through the media player. I have tried this, and I am able to do it.
I attempted to use "hotlink protection", and purposely omitted the domain name I am using so that it would prevent potential individuals from getting to the files. However, that does not seem to be working. Anyhow, I am looking for a way to protect these files. If it is a permission aspect, would I set the permissions to the whole folder where the files are located? If so, what would I set the permissions to? Thanks everyone, Mike |
|
#2
|
|||
|
|||
|
If you put the full URL there, it will be impossible to prevent people from donwloading it.
The easiest way to get around this is to associate each file name with somthing that isn't human readable such as a number or a HASH then have your flash player query a script to find the actual path to load the file from. |
|
#3
|
|||
|
|||
|
Expanding on PsiPro, it would be similar to this to validate the key for playing the music file and not showing the full url to the music file.
PHP Code:
http://www.premiumbeat.com/flash_res...mp3_player.php Quote:
Last edited by WHMAutoPilot; 03-19-2007 at 01:24 PM. |
|
#4
|
|||
|
|||
|
First...thanks to both PSIPro and WHMAutopilot for the information. Very helpful. Unfortunately, I am not much of a programmer or dba for that matter. However, I do have a friend of that is very knowledgable with mysql. I think I will show him the suggestions that were mentioned and see if we can put something together.
Also, I have actually looked at the premium beat flash music player. It is good. The only problem is that there is an embedded link directly in the compiled flash file which could direct users to their site. Good for them...bad for me. Anyhow, I am using another player that seems to do the trick, without offering up a link to another site. After I submitted my initial post, another thought I had was to have the mp3 play in either a lofi format, or, I could add some speech audio information at the end of each track; ie. "Thank you for listening to song 123". However, if a user wished to buy the mp3, they would directed to a higher quality file, without any annoying speech audio overage information. It may just come down to which method is going to take up the least amount of time. Thanks again, Mike |
|
#5
|
||||
|
||||
|
__________________
Follow me on Twitter! http://twitter.com/mrw |
|
#6
|
||||
|
||||
|
IMO.. only demo clip 10sec-30 sec is put online.
and.. the paid mp3 is added to member personal account, with their download link. by this you can monitor times they downloading it as well
__________________
Charles Gan Hostgatorreview.org webmaster
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|