I have created a webpage where users can upload files to the server and I did not restrict the file types. What is the best solution to make that folder not executable and allow all the files only to be downloaded when accessed.
So far I have the following .htaccess file on that folder:
<Files *.*>
ForceType applicaton/octet-stream
</Files>