cancel
Showing results for 
Search instead for 
Did you mean: 

How to verify the content of zip file during upload

hardik_thakkar
Star Contributor
Star Contributor

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 1

angelborroy
Community Manager Community Manager
Community Manager

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