[xwiki-users] Limit FileTypes allowed to be attached
Hi List, is it possible to deny certain file types as attachments? E.g. deny .exe or application/executable? Or only allow Images? Regards Stefam -- Stefan Völkel - Program Manager - Scalix - a Xandros Company Platz der Einheit 1 - 60327 Frankfurt am Main - Germany Office +49 69 97503 156 - Fax +49 69 97503 200 - Mobile +49 173 7 36 65 84
Stefan Völkel wrote:
Hi List,
is it possible to deny certain file types as attachments?
E.g. deny .exe or application/executable? Or only allow Images?
Hi, It is not possible directly, because: 1. There is no way to instruct the browser to filter files yet 2. The UploadPlugin does not have an option to limit file types, but since it is a plugin, it is written in Java, and it is Open Source, you could modify it to suit your needs. The upload plugin is not in a separate module, but inside xwiki-core. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
Sergiu Dumitriu -
Stefan Völkel