Forum Multiplayer Passing Sensetive Data in messages to Backend Room

Discussion and help relating to the PlayerIO Multiplayer API.

Passing Sensetive Data in messages to Backend Room

Postby aseemgarg321 » March 1st, 2017, 4:15 pm

Hi,

I need to Perform some Check at Server side from FB AccessToken of players.. Which might include fetching friends..
For this purpose I am gonna send AccessToken of FB player to back end server room by Messages or PlayerJoinData..

I have done PlayerIO.useSecureApiRequests=true;

wanted to be sure what does this Encrypt. Just Playerio web calls or messages/JoinData in Game Room as well??

I know this has been asked before, But there is lot of confusion in threads, specially if we see, Unity SDK has a separate Boolean in MULTIPLAYER (UseSecureConnections). I didn't find anything like this in Flash SDK.. So just wanted to clear the air..

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: Passing Sensetive Data in messages to Backend Room

Postby Henrik » March 2nd, 2017, 1:21 am

If you set that property to true, all api calls are done over HTTPS, which includes CreateJoinRoom, and therefore also joindata.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Passing Sensetive Data in messages to Backend Room

Postby aseemgarg321 » March 2nd, 2017, 3:49 am

and Messages - both ways???
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: Passing Sensetive Data in messages to Backend Room

Postby Henrik » March 2nd, 2017, 4:44 am

No, Messages will be plaintext. So send the token in joindata.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Passing Sensetive Data in messages to Backend Room

Postby aseemgarg321 » March 2nd, 2017, 5:06 am

Cool.. Thanks..
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am


Return to Multiplayer



cron