Forums / Developer / Restrict file types that can be uploaded

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Restrict file types that can be uploaded

Author Message

Clive Flatau

Tuesday 15 March 2005 3:03:31 am

Is it possible to restrict the file types that can be uploaded via tha admin interface i.e. not allow uploading of .exe and restricting to say .doc, pdf, .xls.

Eirik Alfstad Johansen

Tuesday 15 March 2005 3:42:18 am

Hi Clive,

You'll probably have to create a separate datatype for this purpose. However, if you start with the current ezbinary datatype as a basis, it shouldn't be too difficult.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Clive Flatau

Tuesday 15 March 2005 4:20:51 am

Thanks - thought that was the case