title: Do I need to concern security about my game server?
body: <p>I have a game server where clients can connect and communicate with via TCP. Any device can connect the server if it knows the IP and port.</p>
  
  <p>I am wondering if I need to add some security to the server. For example,</p>
  
  <p>(1) Add some encryption for the messages sent/received. (To prevent the protocol content is revealed)</p>
  
  <p>(2) Add some key to the message so if the server cannot recognize the key after decryption, the message will be dropped. (To prevent unknown connections/messages flooding in)</p>
  
  <p>Do you think these things are necessary and is there any other thing I should add for such a game server.</p>