22 Aug
2008
22 Aug
'08
2:04 p.m.
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/