Safest way to update game score from client to server database? Javascript

前端 未结 5 2390
生来不讨喜
生来不讨喜 2020-12-14 10:41

So I have this game that is completely run on the client. No server interaction what so ever apart from downloading the initial scripts to play the game. Anyway at the end o

5条回答
  •  无人及你
    2020-12-14 11:15

    Make the client send you the credentials (or some sort of session information in case you don't have logon credentials) and do that over SSL (https). This way you have both authentication and integrity control. Very easy and extremely lightweight for both server and client.

提交回复
热议问题