Encrypt/Decrypt files using Carrierwave to store in S3

90 views
Skip to first unread message

jfriedlaender

unread,
Aug 31, 2011, 9:10:59 PM8/31/11
to Ruby on Rails: Talk
Hi,

I need to be able to encrypt files before storing them on S3, and then
decrypt them when accessing them. The files will be images, documents,
PDF, etc.

I am using Carrierwave to handle the file upload and storage. I am
storing them in Amazon S3.

Has anyone done this, or have any ideas how this would be achieved?

Thanks.

Abhijit Matak

unread,
Apr 1, 2016, 9:01:11 AM4/1/16
to Ruby on Rails: Talk
Hi! jfried, did you get the solution to encryption of files before uploading them to S3. If yes, how? If you can share the source code then it will be great as a learning resource.

Thanks
Avi

Joy Lal Chattaraj

unread,
Apr 13, 2016, 1:23:47 PM4/13/16
to Ruby on Rails: Talk
Why do you need to encrypt the files, just set the folder to private so no one else can access them.
Reply all
Reply to author
Forward
0 new messages