KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my app, I have a requirement that is stumping me. I have a file stored in S3, and when a user clicks on a link in my app, I log in the DB they've clicked the link, decrease their 'download credit' allowance by one and then I want to prompt the file for download. I don't simply want to redirect the user to the file because it's stored in S3 and I don't want them to have the link of the source file (so that I can maintain integrity and access) It looks like send_file() wont work with a remote source file, anyone recommend a gem or suitable code which will do this?
Tags (comma-separated)
Save Edits
Cancel