Ask the front-end H5, Mini Game and back-end data exchange security solution?

before Mini Game jumped out, many bosses cracked Mini Game data transmission, directly modifying scores, simulated clicks, and so on. I would like to ask what is a good method. When doing some clicks, how to prevent the front end from being cracked and falsified submitted data, such as jump, Mini Game, and so on.


verify beforehand and check afterwards. Server verification can put an end to some cheating, but real-time games are difficult to verify the data of all players on the server. For games like hopping, the server basically only keeps a ranking, and most of the anti-cheating has to be done on the client. In addition to code confusion, the transmission content can be encrypted, but this only increases the difficulty of cracking. Of course, you can also try to leave everything the client can do to the server, such as partial rendering, but this is too expensive. There is no way to completely put an end to cheating, so make your own choice.


can we encrypt and decrypt the transmission time code md5 or something?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9639d-47383.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9639d-47383.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?