开发者

how to use SSL to secure only the log in and sign up in flex?

I have a f开发者_C百科lex application, running with amfphp and connected to wamp, I want to use a secure connection using ssl, but my whole application is running from the same swf file, would using ssl in that case mean that all the data, being sent and received between the server and client , encrypted? Because this is not what I'm trying to do, I only want to encrypt the sign up and sign in data.

please note that, I have log-in bar which is visible the whole time as long as the user is not signed in. in other words, I only want to secure some of the data being transferred not every thing. Is that possible? a tutorial or reading material would be highly appreciated

note: I'm using flex 3 and php/mysql in the back end, and amfphp to connect them.

Thanks


Since you're using AMFPHP, I can assume that you are using the AMF protocol to send data back and forth and also using the RemoteObject tag inside Flex to make remote calls.

Assuming that AMFPHP uses a standard approach that most other platforms use, I would just open up your services-config file and add a destination for secure / HTTPS communication and one for non-secure /HTTP communication.

Then just edit your code to make sure your login procedures use the secure destination; while other data calls do not.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜