Restrict access to the file manager without permission

System Information
  • Strapi Version:
  • Operating System:
    macOS Sonoma 14.1.1
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hey friends,

I developed a sales system using strapi.
The products are digital products.
I want to generate for each client a unique download link for files stored in the media manager.
The problem is that there is no possibility to limit file viewing permission.
Does anyone know of a way I can restrict outside access to the files?
It is important for me to give each file permission separately.

I generate a download link for them using a custom code.