Rails 3, paperclip + S3 - Howto Store for an Instance and Protect Access

Viewed 8365

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

3 Answers
Related