nobosh
2010-Oct-09 22:49 UTC
Rails 3, Paper_Clip + S3 - HowTo Save Files for an Instance and Protect Access
I have a Rail3 app with paper_clip, 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. Example /instance_id/photo/photo_id/files.... Then, I would like to prevent a user for Instance A from accessing, or being able to access files from Instance B. Also, for users not logged in, they shouldn''t be able to access files. What''s the best way to handle this? thanks -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.