How to restrict file download access to specific users
This is an interesting post about restricting file downloads only to authenticated users in the app, but offloading the actual download to the server.
The above is for nginx but is there an equivalent approach for LS?
response.headers['X-Accel-Redirect'] = '/downloads/myfile.zip'
response.headers['X-LiteSpeed-Location'] = '/downloads/myfile.zip'
|All times are GMT -7. The time now is 12:06 AM.|