Forum: Ruby on Rails Looking for S3 File Upload PlugIn

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
37df158edd0f4ca5fc2fff2e87f43487?d=identicon&s=25 Chris B. (fabrik42)
on 2009-05-14 10:09
Hi there,
I'm looking for a file upload plug in to load any kind of files up to an
Amazon S3 bucket. But the access to the files should be restricted to
authenticated users.

Any Suggestions?


5772c599ccab3081e0fffb1d54f3b6de?d=identicon&s=25 Andrew Timberlake (andrewtimberlake)
on 2009-05-14 10:14
(Received via mailing list)
On Thu, May 14, 2009 at 10:09 AM, Chris B.
<> wrote:
> Chris


Andrew Timberlake

"I have never let my schooling interfere with my education" - Mark Twain
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (conradwt)
on 2009-05-14 10:21
(Received via mailing list)
On Thu, May 14, 2009 at 1:09 AM, Chris B.

> Chris

Chris, are you wanting to perform these actions as an admin user or a
of the

37df158edd0f4ca5fc2fff2e87f43487?d=identicon&s=25 Chris B. (fabrik42)
on 2009-05-14 10:25
Hi Conrad,

the users should be able to upload/download files, but download only
these they are authenticated to (like only files of group x).

afaik s3 buckets are either protected or public - so i'm not sure how to
do this.
8cac6e764279d4ca612f4a6ec767fdaf?d=identicon&s=25 Benjamin Curtis (Guest)
on 2009-05-14 19:45
(Received via mailing list)
You use paperclip to handle file uploads, sending to s3, and storing the
info in the database.  The model that stores the image information
belong_to a User, so that you can implement per-user access controls.
when a file is to be downloaded, assuming the currently logged-in user
access the file, you render a time-limited (5 minutes or so) s3 URL so
user can download it without leaving the file wide open on s3.
Benjamin Curtis - Ready-made Rails code - Team-powered recruiting - Personal blog

On Thu, May 14, 2009 at 1:25 AM, Chris B.
This topic is locked and can not be replied to.