By definition, if you are allowing .jpg, .gif, .pdf, and .doc then you
are not allowing a .exe
Just a matter of making things complex when they aren't.
===================================================================
I have some apps that allow file uploads. I don't specify the mime
types allowed because it needs to be open to nearly anything the
clients want to upload, from images to java to pdf to spreadsheets
and docs etc. etc. However, I would like to make it so that com,
exe, bat, and file extensions like that will not be accepted. I
realize I could do this with a simple CFIF on the value of the file
field, but I am wondering if there is some way to "restrict" as well
as to "allow" filetypes in the CFFILE tag. None of my books mention
this so I am guessing not but I thought I would ask the experts
anyway.
Palyne
ScienceHorizon
=====
Veni, Vedi, Velcro.
I came, I saw, I stuck with it.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org