I made a game using eclipse. I have a server program and a client program. The clients communicate with the server using sockets. If the client starts it sends its username and password to the server. If the combination exists, the client can communicate with the server. and the client constantly reads the levels of other people in the game and constantly sends its own level.
my questions: How can i secure the passwords or is it already safe? Can a client not just make his own java program and use an existing username and password to communicate with the server and than send for example that he is 100 levels up. If yes how to solve this? Are there any other things I need to secure?