PDA

View Full Version : Secure Remoting?


riluve
10-27-2005, 05:00 AM
So I want to have users login using flash, which will be sent to a ColdFusion login routine - thing is, I don't want to send user/password info in the clear. How do I get flash remoting to SSH or hash or the like?

J_Miller
10-27-2005, 04:42 PM
Hello...

I have had success using SSL with remoting via ColdFusion and ASP.NET. If your gateway address points to a secure URL then it should work for you. One thing I did run into is that you need to change the addresses in the embed tags of your Flash movie. By default, the URLs in the embed tag point to nosecure domains which will give you a nonsecure message in your browser. My recommendation is that you confirm these URLs on the Macromedia website, but these are the ones I have used in the past.

The best way to handle this is to have the ColdFusion page (or equivalent) handle the embed tags dynamically based on whether it was loaded in secure mode or not. This way you can use the same page and same flash file in secure mode and nonsecure mode.



codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,1"

pluginspage="https://www.macromedia.com/go/getflashplayer"




I was trying to find all of the sample files I used when testing all of this out, but was unable to. In the event I find them, I will post a link for everybody to check them out.

Hope thats helps