I have an S3 backed image model, using carrierwave and fog, I'm processing the images with rmagick and uploading different versions to Amazon S3, the original image and two smaller versions. I would like to have the two smaller versions publicly accessible, but the original versions protected, like stored in a different folder on S3, with a different access or something like so that I can get them from my application backend, but not accessible to the public, only the other two versions should be.
I think this resumes to two questions: Configure carrierwave to save image versions on different places on the bucket, or even different buckets. Configure carrierwave/fog with different accesses to be used according to the image versions being requested, so that on my application front end i could use model.image_url(:small) and on another place just do model.image_url to retrieve the original one, using a different access.
Do you have any other ideas about this?