Rails 3, paperclip + S3 - Howto Store for an Instance and Protect Access
问题 I have a Rails 3 app with paperclip, with the intent to store data on S3. In the app, Users belong to an instance. I would like the data stored across all the models per instance. And would like to prevent a user from Instance A from accessing, or being able to load data from Instance B. What's the best way to handle this? thanks 回答1: I actually just implemented authorized S3 url's in my Ruby on Rails 3 application with Paperclip . Let me share how I accomplished this. So what I did, and what