|
With PHP, it's possible to give name back to the file so you can download normally from it.
This is common technique inside download scripts, to prevent linking filenames from another sites. They must go through "download.php?fileid=xxxx" to make it possible. The real filename is still secret.
People upload normal file with readable name -> server stores original filename in DB, but saves for security and difference renamed filename (in numbers) -> on server is now numbered filename.
When user download it -> pass through php, put filename back, from DB, and give it as normal named filename to user -> user download it normally.
With download script, you can block easy special files from normal users and registered users, or make it only accessible for beta testers. Just for example.
|