Restrict fileupload for file type

Hello,

is there a way that certain groups can only upload certain types of files?

Yes, https://docs.nextcloud.com/server/15/admin_manual/file_workflows/access_control.html

1 Like

Thank you that helps me a lot
He’s also blocking my access to folders right now. Is there a MIME type for this?

You need to do few steps to make rules applied not globally but folder specific:

  1. Add invisible TAG e.g.: Only TXT uploads
  2. Create rule to match this tag, add file names or MIMEs restrictions and add folder exception to be able to visit folder:
  3. Tag upload folder with a new tag Only TXT uploads and all uploads except *.txt and *.md will be blocked to tagged folder only and you will be still able to visit tagged folder and manage text files in there.