I'm working on a php script where users can upload any type of file they want, even php files.
All files are uploaded/moved in a specific folder ("uploads").
I don't want these files to be readable otherwise it can cause a major security bug as users can write any php code and take control of my server.
I want these files only to be downloadable by the user client (browser). Like Dropbox for example.