Skip to content

Commit

Permalink
Add reference to sendfile/x-accel to README
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Feb 23, 2014
1 parent e92f662 commit e05cbac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@ Once a user knows the random string that was used to name the file, they could p
they could just as well download the file and provide it to others in some other way.

If you would like stricter control over who accesses certain files, you'll have to prevent direct access to (part of)
the media directory, and serve those files through a Django view instead. However, this comes at an additional
performance cost.
the media directory. You can serve those files through a Django view instead, but this comes at an additional
performance cost. A more performant but more complex alternative is to use Apache sendfile_ or nginx X-accel_.

.. _sendfile: https://tn123.org/mod_xsendfile/
.. _X-accel: http://wiki.nginx.org/X-accel

0 comments on commit e05cbac

Please sign in to comment.