Hacker News new | ask | show | jobs
by EGreg 484 days ago
Speaking of NGINX directives that can make a big difference serving files, here is how you we use it to enforce access control:

https://community.qbix.com/t/restricting-access-to-resources...

1 comments

Why not just use the `secure_link' feature? It's designed for this.
X-Accel-Redirect is better, it allows us to use any custom logic in our php script to calculate access to resources