Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Security Measures  (Read 2363 times)

0 Members and 1 Guest are viewing this topic.

Azaral

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Security Measures
« on: January 22, 2014, 12:42:56 am »
My game will have players connecting to a central server which will store data for the player and will be the hub for the players to connect to when they are looking to join a game. After the game starts the players will no longer have connection to the central server and the game will commence with the players being the server for the game. What sort of security measures should be/need to be used?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11016
    • View Profile
    • development blog
    • Email
Re: Security Measures
« Reply #1 on: January 22, 2014, 01:11:01 am »
This is way too vague/too much of a general topic, than that we can directly help you.

As a first step, if you want something secure search for a different library than SFML, because SFML doesn't provide SSL encrypted connections (i.e. HTTPS), thus anyone would be able to simply sniff the traffic. A good start might be SFNUL (C++11 required!).

Next you'd have to think about what data you're storing, so you can secure it better.

Furthermore you could think of a way to authenticate with the server and how to further secure the transmission of such an authentication.

Again it's a broad topic, there are hundred of ways to do things. One can really answer such a generic question. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Azaral

  • Full Member
  • ***
  • Posts: 110
    • View Profile
Re: Security Measures
« Reply #2 on: January 22, 2014, 02:19:18 am »
Thanks for your reply. It's a generic question because I only have a vague idea of what it involves. I'm looking at SFNUL right now and it looks like something I might want to use. The thread also brought up other issues wasn't aware of and has me thinking of changing compiler (which I'd have to do anyways if I used SFNUL cause I'm using Visual Studio 2010).