Answer the question
In order to leave comments, you need to log in
How to restrict access to files or directories in Django in static?
There was a need to restrict access to static files for users. For example, there is a user foo, for him, in the static folder, a directory (/static/foo) is created, files from which only this user should have access. Is it possible to organize it somehow? Django standard authentication is used.
Answer the question
In order to leave comments, you need to log in
It is forbidden. What's more, the problem statement looks like you're misusing statics.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question