Riseykins Posted May 21, 2008 Share Posted May 21, 2008 Okay, so IDK if this would be PHP or what... What I want to do is upload some music files to a website. I was just wondering how I can stop people downloading these files? I want to play them on a flash MP3 (which I've found), but just don't want people illegally downloading the songs. xD Anyone able to help? Sorry if this isn't PHP, but this is the only place I know to ask for help! Thanks! Link to comment https://forums.phpfreaks.com/topic/106592-protecting-files/ Share on other sites More sharing options...
Schlo_50 Posted May 21, 2008 Share Posted May 21, 2008 You can protect the folder using some .htaccess code. Try this website for what you need, there is some very good tut's there: http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/#sec2 Link to comment https://forums.phpfreaks.com/topic/106592-protecting-files/#findComment-546339 Share on other sites More sharing options...
thebadbad Posted May 21, 2008 Share Posted May 21, 2008 If the users play a MP3 through the Flash player, they practically have it on their computer. You can make it hard to find, but you can't restrict some users from finding them. E.g. with the Firebug plugin for Firefox, the user can see each file loading when you visit a site, including any MP3 there's playing. Streaming the files off a protected server or something will however stop users from directly downloading the songs, but they can still record the stream. Link to comment https://forums.phpfreaks.com/topic/106592-protecting-files/#findComment-546351 Share on other sites More sharing options...
Riseykins Posted May 21, 2008 Author Share Posted May 21, 2008 Well surely there's not going to be 100% protection on this? It's a case of deciding whether more profit will be made from having the MP3 player than not... I think that it's worth it... Thanks! Link to comment https://forums.phpfreaks.com/topic/106592-protecting-files/#findComment-546408 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.