a question about allow some IP or Lock IP connect to server

Options
ialian
edited October 2011 in Photon Server
now i use Photon V2
learn Lite server setup
but when i running server other people if know my IP can connect it too
so i should at how edit server program for allow some IP or Lock IP connect to my server

thx a lots

Comments

  • Boris
    Options
    You could use a secret application id, or a secret port.
  • sorry i still no any idea
    i should at "actor" add a secret application id, or a secret port??
    or edit litepeer.SessionId??
  • Boris
    Options
    I meant to say that you could edit the photonserver.config and use a different application id and port so that nobody knows how to connect to your server.
    You can find config doc here: http://doc.exitgames.com/v3/photonserver/setupandconfig
    And I think there is also a pdf with all possible settings inside the downloaded SDK.
  • oh i see
    thx very much i can do it !