Store key on server instead of config wizard?
Options
Can I store my appId in a DB, pull it on init and swap out the appid? Is that possible and would it break init stuff?
Trying to crack down on security -- it's too easy to decompile Unity. Would like to make them work harder to find the key ;p
PhotonNetwork.something.appId = _appId
PhotonNetwork.something.Init() // Manually
Trying to crack down on security -- it's too easy to decompile Unity. Would like to make them work harder to find the key ;p
PhotonNetwork.something.appId = _appId
PhotonNetwork.something.Init() // Manually
0
Comments
-
Hi @xblade724,
in PUN Classic and PUN 2 you are able to modify the PhotonServerSettings at runtime. Means that you can set the AppId for example in code before connecting to Photon. In PUN 2 you can set the AppId by usingPhotonNetwork.PhotonServerSettings.AppSettings.AppIdRealtime = "<your appId>";
.0