How to differentiate access rights for viewing media files in Django?
I am writing a django project and working with media files. I need to deny access to some media files so that the user cannot open them via a link and view them. In this project no authorization on the site, there is only one superuser who can watch all media files. Files are loaded dynamically, thus new files appear, access to which must be denied. How can i do this?