Use this lib to encrypt and decrypt in Flex / Air

http://code.google.com/p/as3crypto/

Reinhart

--- On Wed, 2/10/10, Laurence <[email protected]> wrote:

From: Laurence <[email protected]>
Subject: [flexcoders] Re: A security question...
To: [email protected]
Date: Wednesday, February 10, 2010, 9:32 PM







 



  


    
      
      
      Well, I guess that begs the question -- is there an easy way to encrypt 
something in Flex?  Like ColdFusion's encrypt() function?  Does Flex have 
something like that built-in?



L.



--- In flexcod...@yahoogro ups.com, Booking Heaven <booking2heaven@ ...> wrote:

>

> The best thing you have to do is you should encrypt it in client side before 
> it is passed to webservice (whatever it is, https or http) because man in 
> middle attack can tap your creditcard information before it is passed to 
> webservice. 

> 

> Reinhart

> 

> --- On Wed, 2/10/10, Laurence <lmacne...@. ..> wrote:

> 

> From: Laurence <lmacne...@. ..>

> Subject: [flexcoders] A security question...

> To: flexcod...@yahoogro ups.com

> Date: Wednesday, February 10, 2010, 6:18 PM

> 

> 

> 

> 

> 

> 

> 

>  

> 

> 

> 

>   

> 

> 

>     

>       

>       

>       So, let's say I have a <mx:RemoteObject> in my program...  I want it to 
> communicate with the server via SSL, or some other method whereby the 
> credit-card numbers it sends to-and-from the server are encrypted.

> 

> 

> 

> Here's how it's structured currently:

> 

> <mx:RemoteObject id="roPaymentInfo" destination= "ColdFusion"

> 

>    showBusyCursor= "true" source="{'cfcs. dao.PaymentsDAO' }">

> 

>    <mx:method name="getPayments" result="roGetPaymen tsResultHandler( event)" 
> fault="roFaultHandl er(event) "/>

> 

>    <mx:method name="addPayment" result="roAddPaymen tResultHandler( event)" 
> fault="roFaultHandl er(event) "/>

> 

> </mx:RemoteObject>

> 

>       

> 

> Do I have to make my entire program secure via an https:// in the URL, or is 
> there a way to encrypt just that one <mx:RemoteObject> ?  If there is a way 
> to secure just the one object, how is that done?

> 

> 

> 

> Thanks,

> 

> Laurence MacNeill

> 

> Mableton, Georgia, USA

>





    
     

    
    


 



  






      

Reply via email to