Hi Everyone,
Firstly i created confluence plugin that includes event listener module. I can capture the event of creating of attachment by using
@EventListener
public void attachmentCreateEvent(AttachmentCreateEvent event){
....
}
but i want to conrol and block attachments that file extension is ".exe". how can i handle this problem ?
can i use FileUploadUtils class or something else could you help me ?
Thanks