cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict uploading .exe file

Subash_bharath_
Champ in-the-making
Champ in-the-making

Nuxeo is allowing to upload of any kind of file format to the application. I don't want to upload the .exe file to the application. can anyone tell me how to do this?

thanks

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

If you're using WebUI, the upload providers support an accept attribute, where the value is a comma-separated list of accepted mime types.

https://doc.nuxeo.com/nxdoc/web-ui-upload-providers/

Here's an example:

    <nuxeo-dropzone role="widget"
                label="PDF file"
                name="content"
                accept="application/pdf"
                document="[[document]]"></nuxeo-dropzone>
Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.