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
LVL 2
MilesTinsleyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sleep_furiouslyCommented:
If this is XMLSocket object connecting, I don't think there is a good way.

See FAQ #5:
http://moock.org/unity/u2mdk/

http://www.macromedia.com/devnet/flash/whitepapers/security.pdf
http://echo.ryerson.ca/authentication/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MilesTinsleyAuthor Commented:
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.....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.