I'm working on a module which will allow end users to upload files and I realized there is a security risk. For instance, a user could upload a malicious
PHP script to perform nasty stuff on the server. My solution to this is to allow the administrator to enter a list of file extensions to allow, or enter a list of file extensions to block.
I'd like to know what the other module developers think is the best way to go, and get a feel for what users would prefer.
Thanks!