Amazon S3 and Encryption

2010-11-08 Thread Dean Lawrence

I have a client site running CF7 where we need to move all their pdf documents 
to Amazon's S3 service. However, we need to encrypt them before sending them to 
S3. My original plan was to then retrieve the document on the server side, 
decrypt it, and deliver it to the client via cfcontent. However, I can't find 
any reference to be able to do this. I know that CF 9.01 has added S3 features 
to cffile, but I need to do this with CF7. Does anyone have any suggestion? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338952
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Amazon S3 and Encryption

2010-11-08 Thread Gerald Guido

The simplest way to do this is use cfhttp to download the file from S3. You
can lock the files on S3 using simple authentication and use the username
and password attributes for chttp.

You can also use the Amazon S3 REST Wrapper
http://amazons3.riaforge.org/or one of the other libraries  from
RIAForge.org. I have use the S3 Wrapper
before and it works well. But IIRC the S3 wrapper uses cfhttp to talk to S3.

HTH
G


On Mon, Nov 8, 2010 at 12:01 PM, Dean Lawrence dean...@gmail.com wrote:


 I have a client site running CF7 where we need to move all their pdf
 documents to Amazon's S3 service. However, we need to encrypt them before
 sending them to S3. My original plan was to then retrieve the document on
 the server side, decrypt it, and deliver it to the client via cfcontent.
 However, I can't find any reference to be able to do this. I know that CF
 9.01 has added S3 features to cffile, but I need to do this with CF7. Does
 anyone have any suggestion?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338955
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Amazon S3 and Encryption

2010-11-08 Thread Dean Lawrence

Gerald, thanks for the suggestions. When you used the REST Wrapper, did you 
have any problems with secure certificates and cfhttp? In my research I saw a 
number of people receiving errors when trying to communicate with the S3 
servers over https?

Thanks,

Dean 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338962
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Amazon S3 and Encryption

2010-11-08 Thread Gerald Guido

Gerald, thanks for the suggestions. When you used the REST Wrapper, did
you have any problems with secure certificates and cfhttp? In my research I
saw a number of people receiving errors when trying to communicate with the
S3 servers over https?

Not that I remember. It was quite a while ago since I last used it so I am
going from memory. Sorry if I cannot be of more help.

G!



On Mon, Nov 8, 2010 at 2:14 PM, Dean Lawrence dean...@gmail.com wrote:


 Gerald, thanks for the suggestions. When you used the REST Wrapper, did you
 have any problems with secure certificates and cfhttp? In my research I saw
 a number of people receiving errors when trying to communicate with the S3
 servers over https?

 Thanks,

 Dean

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338963
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm