File Uploads - permitted file type extensions

simunch 12 Aug, 2010
Hi,

I have a form which is utilised to allow folks to submit documents produced to promote social events. The uploaded file types can vary widely. It might be powerpoint, word, open document format, flash, a compressed archive or various flavours of image.

I currently have the following setting in Field names/allowed Extensions/sizes(KB)

file_1:jpg|bmp|pdf|tif|gif|pcx|psd|doc|xls|xlsx|xml|htm|html|fla|
swf|avi|xcf|png|odf|jpeg|eps|wmf|tga|mht|mhtml|docx|wps|docm|docx|ppt|
pptx|zip|arj|sit|rar|lzh|7z|sitx{10000-}

which covers many of the possible types.

However, there are just bound to be some strange folks utilising some format that I have not considered🙄 and I would like them to be able to submit without exception.

So can I use an extension; such as * as a wildcard? (I have not tried to yet) or is there a way of switching off the extension checking or better still just excluding a few types of extensions from upload?

Kind Regards,

Si
simunch 12 Aug, 2010
replaced with more comprehensive set below for time being.

3dm|3g2|3gp|7z|ai|arj|asf|asx|avi|bmp|css|deb|doc|docm|docx|drw|eps|fla|
flv|fnt|fon|gif|gz|htm|html|indd|jpeg|jpg|lzh|mht|mhtml|mov|mp4|mpg|msg|odf|
otf|pages|pct|pcx|pdf|pkg|png|pov|pps|ppt|pptx|ps|psd|psp|pspimage|qxd|rar|rm|
rtf|sit|sitx|svg|swf|targz|tar|tga|tif|ttf|txt|vcf|vob|wks|wmf|wmv|wpd|wps|xcf|
xhtml|xls|xlsx|xml|yuv|zip|zipx
GreyHead 14 Aug, 2010
Hi simunch,

Early versions of ChronoForms allowed a wild-card file-type but Max removed it as it was too much of a security risk. You really don't want some executable files being uploaded.

Bob
simunch 16 Aug, 2010
Good enough reason. Thanks for replying.
This topic is locked and no more replies can be posted.