Forum Moderators: phranque
I am very new to PHP, mysql, apache server etc... I recently created a website using wordpress in order to sell my own music recordings, teaching myself by trial and error some php etc...
I have a xsfp flash player running on a page on the site, which locates an mp3 file on my server and plays it using a playlist, but it is very easy to find the location of the mp3 file and download it by viewing the page source code.
I am able to easily password protect the directory where the mp3s are by using a feature provided by the host server, but it also stops the flash player from playing the file, asking for the password. Visitors can then only listen to the tracks if they have the password, which of course means they can also download the tracks!
My solution so far has been to use low quality mp3s, so that they are not really worth downloading, but is there a way I can create some sort of filter to allow the php flash player to access the files successfully?
Please bear in mind that I am learning all of this stuff, so I may need a few fundamentals explained to me also.
Thanks.