Media file blocking

I want to block some file types like .mp4 .wmv .avi videos among others.

  • Version of Rocket.Chat Server: 3.18.1
  • Operating System: Ubuntu 18.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • NodeJS Version: v12.22.1
  • MongoDB Version: 3.6.14
  • Proxy: nginx
  • Firewalls involved:

You can block by mimetype in:

Admin > File Upload > Blocked Media Types

Here you can have a list of common mimetypes: