File Screening

Hi, Is there any way to deny to copy specific types of file to workspace? For instance , a file with mp3/mp4/exe extention is denied to upload/copy to workspace via WEB interface/WebDav.

Thank you

0 votes

1 answers

1761 views

ANSWER



My first idea to implement that would be to create through Studio/IDE:

  • Create an Operation into IDE that check the input document if there is an attached file not desired. If this is the case, the Operation throw an ClientException else return the document.
  • then create an Automation Chain attached to the About To create Event. that takes the Context Document and call your operation.

I think you will have your need.

0 votes



Or you can directly create the listener in Nuxeo IDE this is more simple.
07/10/2012