On Mar 27, 3:45 pm, Milan Dobrota <[email protected]>
wrote:
> I'm mostly interested in mp3 files. I'm supposed to build a music store
> app. Where should you keep files (s3?). And what's more important how do
> you protect other people from using the same link? I guess you have to
> generate it dynamically. Is there any other solution or maybe any plugin
> available?
Something like X-Send-File (apache) or X-Accel-Redirect (nginx) allows
you to use apache/nginx to do the actual heavy work of transferring a
large file to the client, while still letting your rails app control
access. These both assume the file is on the same server as the one
running your instance of apache/nginx
Fred
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---