Limit file upload from library

Hi there,

I am just starting using Directus. I have some image and pdf input fields in my collections, with validation (max size, numbers…etc). However, the user can access the library via the menu and upload whatever they want from there. Is there a way to prevent upload from the library directly or hyde the menu? I only want the users to upload from the specific collection fields.

Thanks for your help

1 Answer

1

Hi! You could hide the file menu completely. You can do this through settings > settings > Modules. You can uncheck the File Library icon to hide it. Please note that this is purely visual, so users could still upload files through the API or navigate to /admin/files directly.