Ruby on Rails assets/images are accessible to users not logged in -


when load image link url loads images if person not logged in.

for example,

this link takes me login: website.net

this link takes me image file (without logging in) website.net/assets/idaho/idaho_ellen_mitchell_sig.png

i don't want image file load if user isn't logged in.

i'm new ror , unsure start problem.

is sessions issue? security issue?

my gut tells me i'll need use nginx make work.

any appreciated!

your problem is, placed images in assets folder, public. can solve problem paperclip gem.

the documentation great , surely find way around it.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -