Forum: Ruby on Rails authentication for uploaded files

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.
Sniper A. (Guest)
on 2009-04-21 09:09
how to set authentication for uploaded files ?

i am using paperclip plugin to upload files
it using "public/system" folder to store files

the web server serving file from "public/system" folder

but i want to serve the file only after authetication

how to do that?
Andrew T. (Guest)
on 2009-04-21 09:20
(Received via mailing list)
On Tue, Apr 21, 2009 at 7:09 AM, Sniper A.
<removed_email_address@domain.invalid> wrote:
> how to do that?

I wrote a blog post about doing this with Nginx at

Andrew T.

"I have never let my schooling interfere with my education" - Mark Twain
This topic is locked and can not be replied to.