Tips for file host security?

1 points by zombio ↗ HN
I'm making a unique file host, and I want to allow ALL types of files. How would you do security for something like this? For example: What's the best way to prevent someone from uploading a malicious PHP file and executing it?

1 comment

[ 0.93 ms ] story [ 14.2 ms ] thread
Put the data inside each file in a database. You can then create a temporary file for download.