0

I want to protect my static file from unauthorized user, How should I do in Django? Ex:

/static/public/ : can access by anyone
/static/private/: just fror authorized user
Phan Dinh
  • 245
  • 2
  • 11
  • Possible duplicate of [Django: Serving Media Behind Custom URL](https://stackoverflow.com/questions/2687957/django-serving-media-behind-custom-url) – Iakovos Belonias Apr 03 '19 at 07:53
  • Thank @IakovosBelonias, I'm want to protect not only files in the folder, but also in the sub folders, and don't know the folder struct. – Phan Dinh Apr 03 '19 at 08:08

0 Answers0