First of all, I will say that I am completely new to coding security. I am currently helping a friend develop a small game (in Python) that will have a login server. I have little security knowledge, but I know that many games have problems with this. Everything from third-party applications (bots) to processing WPE packages. Given how small this game is and the limited user base, I doubt that we will have serious problems, but we would like to try our best to limit the problems. I'm not sure where to start or what methods I should use, or what it costs. For example, sending data to a server, such as username and password.
I was told that his information should be encrypted when sending, so if someone was viewing it (in any way), they could not get into the account. However, if someone can capture an encrypted string, will this string always work on the decrypted side of the server? In other words, can someone just grab the package, reuse it and still access the account?
The main goal I'm really looking for is to make sure that the players enter the game with the client that we provide, and to make sure that he is “protected” (broadly, I know). I looked at various methods, such as Public and Private Key encryption, and I'm sure that any hex editor can be found anyway. At the moment there are many other methods that seem to me on my head and leave the impression of being superfluous.
I understand that nothing is 100% safe. I am just looking for any input or reading material (link) to achieve the main goal mentioned above. Thanks for any help, thanks.
source share