M
M
mikemoix2016-02-17 13:37:24
Django
mikemoix, 2016-02-17 13:37:24

Nginx+Django private file access?

There is a need to return private files. There is literally a chat model, a message model with pictures is attached to this chat, how can I make it so that my function would validate whether this is the desired user or not and give the file accordingly or give the corresponding error. How can I set this up on Django + Nginx?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question