django-sendfile icon indicating copy to clipboard operation
django-sendfile copied to clipboard

Serve a folder with sendfile

Open dbinoj opened this issue 7 years ago • 0 comments

I have a usecase where I need to serve an entire folder on disk, only if the user has access to it. I can make the checks using a decorator or in the view. But can I configure this plugin to serve entire folders using X-Accel-Redirect, if the user is authenticated?

dbinoj avatar Mar 07 '17 10:03 dbinoj