Block specific media content types

Is it possible to stop editors from uploading media content with specific file types? For example, we have some editors that add a lot of big video files. With a lot of editors for a page, it can be difficult to create rules that are remembered and followed. So, is there any way we can we stop them from uploading video content?

From the more recent topics, I found this: Disable/Enable content-type usage per site , but the solution there will not help, as the media:video content type is built into Enonic.

As far as I know, you can’t disable the content creation.

But maybe you can listen to “create” events with event-lib and send an e-mail to the user uploading video files, telling them they have been flagged for uploading “inappropriate files”.

– Tom Arild

1 Like

If the only reason for this request is to limit the size of uploaded files then you can use uploadMaxFileSize config in Content Studio.

1 Like

Thank you very much for the suggestions, both give me ideas we can probably use!