Client Authentication using SmartFox.InitCrypto() or otherwi

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax
Posts: 1
Joined: 23 Dec 2015, 06:23

Client Authentication using SmartFox.InitCrypto() or otherwi

Postby » 23 Dec 2015, 10:07


I am looking to implement a secured and authenticated connection between client and the Smartfox Server.

I did read through the doc on Protocol Cryptography - ... yptography

Understood setting up certificates to use SSL.. However, I am looking further to make sure that I authenticate the client to the Server so that just any client cannot connect to the server.

Can I use the same mechanism to setup a Client side Certificate as well so that Server allows connection after authenticating the client connecting to it?

Any other mechanism to do this would be welcome.

Thanks & Regards
User avatar
Site Admin
Posts: 20959
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Client Authentication using SmartFox.InitCrypto() or oth

Postby Lapo » 23 Dec 2015, 11:22

I am not sure I understand what you mean by "any client cannot connect".

Typically clients will use their credentials (username and pass) to login and the connection will be encrypted via the standard TLS 1.2, so you know who is connecting.

Can you clarify the above statement?
...addicted to flash games

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 3 guests