Although I realise there are different approaches to securing upload process, I'm still confused when it comes to basic principles. I want to allow users to upload any kind of file they want, but keep my app secure. So my question is:
Is it sufficient to store the files with their original names in 'uploads' folder outside 'webroot' and fetching them via some download.php script?
If it't not secure enough, please point me in the right direction, or suggest what additional steps I should take to make it safe. Thank you.