Menu
Hi,
I want to be able to provide a download area to a site whereby people can download an MP3 track provided they have joined a mailing list. Now, it is easy for me to write a PHP script that checks my MySQL db to see if the email is valid and then direct them to the download but what stops people finding out the directory of the download and entering that in the URL in the first place thus bypassing any security checks etc.?
What are the ways of providing secure folders whereby PHP can only interact with the folder?