Send to a Friend

Anaphase's avatar

Which file types should an upload script disallow?

Asked by Anaphase (768points) January 18th, 2009

I’m crafting a cliché file upload script and need some help creating a list of disallowed file types. I figure files such as .php and .asp could be a potentially hazardous to let people upload. What other files should I block? Any input is greatly appreciated.

I should note that the security of my server is all that I’m worried about, so blocking files such as .exe, which are only hazardous to the users which download them, are not of interest.

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.