How to secure images to users logged in with Rails?
Posted
by NotDan
on Stack Overflow
See other posts from Stack Overflow
or by NotDan
Published on 2010-04-26T14:20:40Z
Indexed on
2010/04/26
14:23 UTC
Read the original article
Hit count: 219
I have a gallery in my rails app that needs to only allow certain images to be shown to specific logged in users. I am using Paperclip for image processing now, but it saves all images in a public folder available to anyone.
Is it possible to only allow these images to be served to authenticated users?
© Stack Overflow or respective owner