You can and (i think) should do both.

In my world of flex 3, I have created a secure destination (and channel) in the 
Flex services-config.xml file and use this for my remote object connection.  I 
can post it if you like.

Warren Koch


  ----- Original Message ----- 
  From: Laurence 
  To: [email protected] 
  Sent: Wednesday, February 10, 2010 8:18 PM
  Subject: [flexcoders] A security question...


    
  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="roGetPaymentsResultHandler(event)" 
fault="roFaultHandler(event)"/>
  <mx:method name="addPayment" result="roAddPaymentResultHandler(event)" 
fault="roFaultHandler(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