securing the connection
Options
Hi all,
So I'm using PUN and setting up connections and rooms using the standard code:
PhotonNetwork.ConnectUsingSettings("1.0");
PhotonNetwork.JoinRandomRoom
etc
My question is, if someone obtains our Photon AppID, can they use it in their own app and consume our allocated CCU? Is there something simple I can do to prevent this from happening? How do I ensure that the traffic is actually coming from our app?
Thanks in advance
So I'm using PUN and setting up connections and rooms using the standard code:
PhotonNetwork.ConnectUsingSettings("1.0");
PhotonNetwork.JoinRandomRoom
etc
My question is, if someone obtains our Photon AppID, can they use it in their own app and consume our allocated CCU? Is there something simple I can do to prevent this from happening? How do I ensure that the traffic is actually coming from our app?
Thanks in advance
0
Comments
-
Bump0
-
You need to treat the AppId as a secret as good as you can. Secure your client if possible.
In addition, you can deny anonymous users and require every player to login correctly. You can send a hash of the client along with the user login/password and verify this.0 -
ok thanks. Is there a Photon tutorial for doing something like this?0
-
All good - found this. https://doc.photonengine.com/en/realtime/current/reference/custom-authentication
Thanks0