views:

118

answers:

2

I'm fairly familiar with using Paperclip in my Rails apps and having attachments stored on S3.

However, on my next project I'd like each user to use their own S3 account. Assuming I'm using restful_authentication or authlogic, what would be the best way to store each user's credentials and have Paperclip use them?

+1  A: 

Why not just use one S3 account and create a folder(bucket) for each user.

rordude
Because, in this project, every user is responsible for their own S3 bill and will need access to their files even if they no longer use the service.
Callmeed
A: 

Did you ever find a solution for this? I'm trying to do exactly the same thing and am hoping to find someone else who's done it before I start hacking apart Paperclip::Storage::S3

jystewart