2022 Developer Survey is open! Take survey.

Questions tagged [authentication]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

UDP authentication

How to check if the sender of a udp packet is authenticated? I think sending an authorization token in each packet is slow. So my second implementation is this: the network part will consist of one ...
user avatar
0 votes
2 answers
56 views

How does a game client (offline) authenticate license from a license server (like Steam)?

So this question is pretty straightforward, but I honestly can't wrap my head around it. How does a client authenticate license from the license provider? For example, when you play a game which ...
user avatar
0 votes
1 answer
64 views

How to ensure a malicious community server cannot impersonate a user?

I am using a server model similar to Steam or Minecraft: There are community servers run by players and a hub authentication server that I control. The client player logs into the game and receives ...
user avatar
3 votes
0 answers
32 views

Authentication and keeping track of users for a cross platform game (Steam+mobile)

I've got a question about authentication/user accounts. I'm building a game using Unity that'll be sold on Desktop (through Steam) and Mobile (Play/App Store). The game has online multiplayer ...
user avatar
0 votes
1 answer
130 views

Authentication for LAN Multiplayer Games

I'm working on the authentication scheme for a multiplayer game using only C++ and SLD2. It's an RPG with a kind of complicated character-group/permadeath scheme, and world-instances are intended to ...
user avatar
2 votes
1 answer
120 views

Authenticating users without a username or password

I'm curious about what the process is for anonymously authenticating users when it comes to mobile games. There are quite a few examples out there, but the ones that immediately come to mind are Lords ...
user avatar
  • 123
1 vote
1 answer
100 views

How to connect to a server without hard coded passwords?

I have two features in my game that need to connect to a server of some kind that requires authentication: a bug reporter and a leaderboard. The bug reporter will take the users report and add it as a ...
user avatar
  • 2,729
1 vote
0 answers
65 views

Authenticate player on backend server with google login

I would like to create a mobile game which communicates with my own backend server. For authentication I want to use google Sign-in(https://developers.google.com/identity/sign-in/android/backend-auth)...
user avatar
  • 11
1 vote
1 answer
262 views

Authorization in scaling multiplayer game

I have an architectural problem associated with authorization. I'm making an MMORPG multiplayer mobile game without separation onto different servers. What I mean by that is that a player from USA ...
user avatar
  • 111
0 votes
4 answers
200 views

Do I need a database to support a sign-in system to associate a player with their save/highscore data? [closed]

I am making a 2d game with Unity, and in my game I want to add a username and a password for each player, so that when the player signs in, they will get all the data about what they played until the ...
user avatar
  • 17
1 vote
3 answers
227 views

What harm would be done if a user were able to play the client side of a multiplayer game without logging in?

I am currently developing a multiplayer game for a university project. The purpose of the assignment is to learn about the use of a cluster architecture, but I have a question concerning security. ...
user avatar
2 votes
0 answers
534 views

Persistent realtime game authentication (JWT, Passport)

Context I am building a MMO game in HTML5 with canvas. I use NodeJS on server & JS from scratch on client. I also use socket.io to manage realtime. The game is persistent & each player keep ...
user avatar
1 vote
1 answer
127 views

Battle Simulation for Singleplayer/Online Hybrid Game

So I was playing Clash of Clans, and just wondered on how they authenticate the result of the battle. This isn't exactly specific to Clash of Clans though. In my observation, while CoC is an online ...
user avatar
  • 46
-1 votes
1 answer
2k views

Secure Login on Steam

Is there any API a steam game can use to check if a user bought the game (instead of having it pirated)? What I want to do is just the following: Call Steam API from Game to get some kind of token. ...
user avatar
-1 votes
1 answer
1k views

How to use JWT in unity

Is it possible to use JWT in my unity games? I've read here that JWT needs .NET version 3.5+ and in Unity 5.4.1f1 the .NET version is "2.0.50727.1433". Is this information correct or incorrect? If ...
user avatar
1 vote
1 answer
2k views

Showing Google Play Game Leaderboard UI not working at all

Trying to figure out what went wrong with this GPG plugin. I followed the instructions and understand the document in order to test run the login and show leaderboard UI via this one. I did make the ...
user avatar
1 vote
2 answers
143 views

Password-less player identification

I'm working on the server side part of my game (develop your village/farm) and trying to build user identification system. I'd like to have a password-less mechanism: user downloads my app from the ...
user avatar
8 votes
5 answers
3k views

Authentication between client, central server, and player ran server

I am developing an open source game that uses a client-server scheme similar to Minecraft. We will control the central authentication server that verifies an account is valid, while players will run ...
user avatar
  • 1,039
0 votes
1 answer
1k views

What is the correct way to authenticate a player with password from Unity to a php api server?

So, I have a game in Unity for mobiles that gives you the possibility to sign-up with username, email and password to unlock extra features. The datas are sent, through a POST request, to a PHP+MYSQL ...
user avatar
  • 326
0 votes
1 answer
60 views

Asymetrcal Public Key (Host it on a server or distribute with launcher)?

I am currently building a launcher for the front end of my game and I am wondering if I should host the public key on a server and have the launcher pull the data as and when needed, or should I ...
user avatar
3 votes
0 answers
708 views

How are UDP packets verified as authentic? [closed]

Hey I'm writing a game and have the backend written using a sometimes-reliable UDP scheme. I want to verify that inbound packets are actually originating from the player specified in the packets. My ...
user avatar
  • 385
10 votes
2 answers
3k views

How to split login and game logic when writing servers?

I'm building a poker like game server, I was going to have all logins and game logic to be handled on one server, but from my research on the web, I learn that this would not scale, and it would make ...
user avatar
2 votes
1 answer
192 views

How do I manage multiplayer login?

How is the typical login, loading the level and spawning handled? For example: Client sends "iwanttologinwithcharacterx" Server does some validity checks and instantiates characterx Server sends ...
user avatar
0 votes
1 answer
1k views

UDP + digital signature vs TCP vs other solutions to guarantee message authenticity

TCP guarantees message authenticity rather reliably using packet sequence number. Other option would be going with UDP and using digital signatures to make the message authentic. What could be my ...
user avatar
5 votes
4 answers
588 views

Online Identification for Desktop Games?

What methods are there for providing means of authentification for multiplayer? A few thoughts: I don't want to be restricted to a single publishing platform such as Steam. Something like OpenID ...
user avatar
  • 6,789
2 votes
1 answer
840 views

Is WS-Security or REST+SSL a scalable authentication platform? [closed]

I'm trying to find a solid architecture for authenticating users against a database. I have a game client, which I plan to serve up a request with. The transport doesn't really matter, but at this ...
user avatar
9 votes
3 answers
3k views

How do I prevent identity spoofing in a multiplayer game?

I'm thinking about clients spoofing IP addresses, tricking other clients that they are the server; that sort of stuff. (I don't know much about this, so if this is completely wrong, please correct me.)...
user avatar
  • 1,236