Mark Jones wrote:
> As part of our site we are using paperclip to upload files however at
> present these files are uploaded to an area using the line below.
> 
> However anybody can access:
> 
> I think this is realted to routing but I'm sort of stuck at where to
> start? Is this going to be more generic RoR  stuff or paperclip
> specific? If so I can ask elsewhere..
> 

this is fairly paperclip specific.  If you're using Apache google for 
"paperclip x-sendfile".   For nginx, "paperclip x-accel-redirect".   The 
first hit for both is 
http://thewebfellas.com/blog/2009/8/29/protecting-your-paperclip-downloads 
which seems pretty relevant.

cheers,
Bryan

--

You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.


Reply via email to