View Full Version : Stoping The Thieves!
cincinnatiboy4867
01-07-2009, 11:07 PM
I don't know how to do this but I want to have mp3s on my website and not let others be able to get to the mp3s and download them for free. I have the url in the src code so that the browser knows where to get the mp3 file to play from. A person could find this url in my source code and go to the website and download that mp3 at no cost at all. This is a problem. What are some solutions to this. I know there are some because I've tried to get free mp3s of other sites and it just doesn't work.
Thanks for all your help :)
Millenia
01-07-2009, 11:13 PM
This might be what your looking for:
http://www.codingforums.com/showthread.php?t=155278
cincinnatiboy4867
01-08-2009, 01:01 AM
I think that's kind of close to what I want. I want everyone to be able to listen to the mp3 but not be able to go to the link and download it. Is there any site I can upload my mp3s to that will let them play it through my website but they cannot go to the url and download it? Or what... I don't think the sessions thing is what I'm after...
cincinnatiboy4867
01-08-2009, 11:40 PM
Please if anyone knows anything about this please help me :(
_Aerospace_Eng_
01-09-2009, 12:37 AM
Did you create your own mp3 player in flash? If you created your own you could set a prefix that would hide the real path of the audio file. One player that already does this is the one by JW. Do a search in google for JW Media Player.
cincinnatiboy4867
01-09-2009, 01:04 AM
How would I hide the source url?
And don't worry. I'm not trying to hide my source code. I just want the url not to be accessible by a person but still able to play through the flash player.
I want to somehow block the page from being viewed.
Thanks.
_Aerospace_Eng_
01-09-2009, 04:39 AM
As I said you would need to create a flash mp3 player and use a prefix that gets appended to the actual url so flash knows the url to the mp3 but your users wouldn't unless they decrypted the flash file. From what I've been reading its likely you don't know any kind of flash which is why I recommended the media player in my post above. I suggest you look into or hire someone.
kokjj87
01-09-2009, 06:28 AM
But we still can see it from the Live Http Header(Mozilla plugin- https://addons.mozilla.org/en-US/firefox/addon/3829).
There are no 100% safe way, but you can make it harder to get to the source of the mp3 file.
cincinnatiboy4867
01-09-2009, 02:14 PM
Delete This Thread
abduraooft
01-09-2009, 02:30 PM
I think the best way is to create a new file having some small portion of the original file, and allow people to hear that, rather than allowing them to hear it completely. (Not tried yet, just a thought.)
tosbourn
01-09-2009, 04:23 PM
You could upload the files to a MySQL database so instead of having an actual file that can be downloaded you would just have a reference that can be handled only by your site.
cincinnatiboy4867
01-09-2009, 10:19 PM
Delete This Thread
cincinnatiboy4867
01-09-2009, 10:28 PM
Delete This Thread
jerry62704
01-09-2009, 10:57 PM
Here is a free tutorial on PHP and MySQL http://www.w3schools.com/sitemap.asp
cincinnatiboy4867
01-09-2009, 11:13 PM
Delete This Thread
PappaJohn
01-10-2009, 01:11 AM
Well, that code won't display anything in your browser. The html consists only of <html> and <body> tags and the php consists only of comments - which aren't parsed at all. Not to mention, that the code doesn't reference MySQL anywhere.
cincinnatiboy4867
01-11-2009, 05:02 AM
Delete This Thread
cincinnatiboy4867
01-18-2009, 03:32 PM
Did you create your own mp3 player in flash? If you created your own you could set a prefix that would hide the real path of the audio file. One player that already does this is the one by JW. Do a search in google for JW Media Player.
I have a SWFObject flash player and I want to add that prefix thing you were talking about but I don't know what code you would use for it.
so.prefix ({dfjdkfd})
You know what I mean?
_Aerospace_Eng_
01-18-2009, 05:25 PM
Are you using the JW Media Player?
cincinnatiboy4867
01-19-2009, 03:57 AM
no I'm using the e-phonic flash mp3 player...
<script type="text/javascript">
var so = new SWFObject("ep_player.swf", "ep_player1", "300", "16", "9", "#FFFFFF");
so.addVariable("skin", "skin.xml");
so.addVariable("file", "<location>http://www.website.com/something</location><creator>DurkMusic Productions</creator><title>Title of Song</title>");
so.addVariable("autoplay", "false");
so.addVariable("shuffle", "false");
so.addVariable("buffertime", "1");
so.write("flashcontent1");
</script>
_Aerospace_Eng_
01-19-2009, 04:53 AM
Did they provide you with a .fla file? Without it you won't be able to do what you want.
cincinnatiboy4867
01-19-2009, 05:55 PM
Oh, no I guess not. I have the one from the JW media player but I know that doesn't help. I would use the JW media player but I have to buy a commercial license Since my site is a business site where I sell things. Oh well, thanks anyways...
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.