Save 36% for Black Friday! Learn more

Jon Williams


50 Experience
0 Lessons Completed
0 Questions Solved


I have a rails application that requires file downloading. To download the files, permission is required - in this case only a logged in user can download the files. Currently, this is working as the files are on within the applications public folder. The problem is that some files are massive, and when being downloaded in turn kill the application until the download is complete.

It would be nice to separate the file from the application to prevent this (even better to host the files on a different server) but keeping the required permissions/authentication.

Is this possible? has anyone experienced this and have some adice?


logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.