perpetualwombat;10987723 wrote:
Is it possible for the site to read and play the audio files without users being able to access the files by typing http://site.com/songref.php?fileID=1
Yes, stop serving files like you are now. On the first request, use session_start, check if $SESSION['fileID'] is set, if not assign 1 to $SESSION['fileID'] else increment it by 1. Then play the song indicated by this variable. Provide users with a "next song" link, until they reach the last song. Then provide them with a "first song" link.
perpetualwombat;10987723 wrote:
can stil right click and save as
You should also be aware that wether they can rclick and save as or not, everything that passes through the user's soundcard to become sound can just as easily (well... almost) be sent to disk as sent to sound output.
I'm not just talking about the web, I'm talking about any program that plays sound, music, whatever. It is just a stream of data after all, so unless the sound data format is not known (and not yet reverse engineered), you can also play the same sound directly from your disk afterwards.
It may however not be legal to do this, due to licensing agreements (such as with Spotify).