Posts tagged sendfile

Nov18

Serving Secure Assets with Rails and Nginx

nginx rails secure assets sendfile | comments

Scenario: Grant access to some assets only to premium users

How do we go about doing this in an efficient way?

Prevent direct access to your assets

If you're using NginX, the following configuration would handle this part:

Continue reading »