how to stop others people using my photon server?
Options
wertt22
✭
i installed photon sever in my server, i only need set ip:9090 in my game client, but It's really not safe, if any one know my server ip,they also can use my server for his game client,so how to stop others people using my server?
0
Comments
-
hi, @wertt22
in the world of managed code this is very difficult to achive. any protection you create can be seen. so everyone may connect to your server. next step is authentication. if user does not send anything in lets say 1 minute after connect. it might be disconnected by server.
if he sends auth request and this request passes your checks, then you allow this client to play
best,
ilya0 -
0
-
@JohnTube thank you, that doc is really helpful to me, i have a question, if i use my owner php site to check ,i know when ResultCode = 1 stand for Authentication successful. so if i want Authentication client successful. i just need Authentication parameters,then use php code like this
echo 1;
0