"Secure" MP3 Upload via PHP
I've done many a search on the topic without any real solution, so I thought I would ask the experts from whom I've learned so much.
I have a script for embedding an MP3 player on a particular website that plays files from a given directory on the site. I'd like to give users the ability to upload their files (this site centers around original music, if anyone is starting to sweat) but worry about giving people such unchecked access... without any good alternative, I have long since figured I would have them upload to a directory no one else can access and I would simply test them file by file to ensure that they are at the very least in fact MP3s... hardly "secure". If anyone has any better ideas, I would love to hear some input.