How to verify the content of zip file during upload

cancel
Showing results for 
Search instead for 
Did you mean: 
hardik_thakkar
Active Member II

How to verify the content of zip file during upload

Hi Team,

By default upload of zip file is allowed in alfresco.

I have requirement like if zip file contains .exe or .bat file then it should not allow to upload that zip file in alfresco.

Is there any way using which we can achieve this things?

Thanks,
Hardik

1 Reply
angelborroy
Alfresco Employee

Re: How to verify the content of zip file during upload

You can adapt the code in this addon:

https://github.com/keensoft/alfresco-zip-previewer

Currently is creating a transformer, but you can modify that to develop a behaviour on creating the ZIP File.

Hyland Developer Evangelist