This task can be performed using Locker
Locker: Secure file storage, fully controlled on your infrastructure.
Best product for this task
Locker
oss
Locker is an open-source, self-hosted file storage system that runs on your own infrastructure and storage backends. It offers deep search, secure sharing, workspace permissions, and a type-safe API so engineering teams can manage and automate file workflows without vendor lock-in.

What to expect from an ideal product
- Runs entirely on your own servers and infrastructure, giving you complete control over where your files are stored and who can access them
- Provides built-in encryption and secure sharing features that protect your data without relying on third-party cloud providers
- Offers granular workspace permissions so you can control exactly which team members can view, edit, or share specific files and folders
- Includes a powerful search function that helps you quickly find files across your entire storage system without compromising security
- Features a type-safe API that lets your development team integrate file management directly into existing workflows and applications
