Gemori Posted November 29, 2008 Share Posted November 29, 2008 I searched around to find ways to prevent people from indexing and looking at all the contents of a directory, but now rises another problem.... What if they know the full path? I have a folder with 4 .mp3 songs in it and I use them in a flash music player. The flash player needs to be able to use them and does so with an XML file. I made looking at indexes not possible so the user could not see the list of songs and simply right click and save as. The flash player shows the song name and sadly it's the .mp3 file name. Therefore anyone could just go mysite.com>music/song.mp3 and receive the song. Is there a way to protect my song files but allow the flash mp3 player play them? I'm allowing people to listen to the songs but I don't want them to download.... Quote Link to comment https://forums.phpfreaks.com/topic/134786-permissions/ Share on other sites More sharing options...
sixlead Posted November 29, 2008 Share Posted November 29, 2008 just taking a shot here but, you could place your files outside the web root. setting the flash app to run as a user or group that has access to the files that the web server itself does not. You should also be able to mask the files in the flash app as well which might be easier. Quote Link to comment https://forums.phpfreaks.com/topic/134786-permissions/#findComment-701883 Share on other sites More sharing options...
Gemori Posted November 30, 2008 Author Share Posted November 30, 2008 I'm not sure how I would do the approach that you've proposed. Quote Link to comment https://forums.phpfreaks.com/topic/134786-permissions/#findComment-702093 Share on other sites More sharing options...
sixlead Posted December 5, 2008 Share Posted December 5, 2008 I'm not sure how I would do the approach that you've proposed. do you have access to the fla file? Quote Link to comment https://forums.phpfreaks.com/topic/134786-permissions/#findComment-706802 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.