Link to home
Start Free TrialLog in
Avatar of MilesTinsley
MilesTinsley

asked on

Socket Server over SSL. I.e Unity 2.

I have installed and setup Unity 2 socket server (http://www.moock.org/unity). I intend to use this with a Flash front end.

Currently my Rich Internet Application is used to send sensitive data, so I use https/ssl. This works fine as a call my php scripts from flash, over https.

The problem is that it is ineffecient to keep making TCP connections to the server because I have multiple users at once. Hence, the socket server, is an ideal solution as it keeps the connection open and pushes data back and forth in real time.

My question is: how can I use this socket server over https????

I would greatly appreciate any help..


Thanks

Miles
ASKER CERTIFIED SOLUTION
Avatar of sleep_furiously
sleep_furiously

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MilesTinsley
MilesTinsley

ASKER

Quote from: http://www.macromedia.com/devnet/flash/whitepapers/security.pdf

"The one exception to this is the way Macromedia Flash uses persistent sockets
(through the ActionScript XMLSocket object), which does not use the browser to
communicate with the server. Because of this, it cannot take advantage of the
built-in encryption capabilities of the browser. However, it is possible to use oneway
encryption algorithms written in ActionScript to encrypt the data being
communicated."

Fantastic! Thats what i needed to know. I better getter started on writing a "one-way encryption algorithm"!

I checked the Unity site before posting this question: i've never been able to see whats right in front of me!!!!

Thank you very much sleep_furiously. That has helped me greatly.....