Registration and authorization
We have made registration and authorization mandatory for the game. Now it allows you to save the character's appearance and coordinates on the server. In the next update, we will use this to implement the ability to privatize land.
This update made us sweat, since it required the use of a whole range of knowledge about encryption, secure data transfer from the client to the server and management of all this in the database. Using the OpenSSL library, the client encrypts its password with a public key, and the server decrypts it with a private key. To prevent a man in the middle from logging in by repeating encrypted traffic, the password is encrypted with the addition of a proxy salt on the client, and the salt is generated randomly by the server for each new session. To protect passwords in the database, a cryptographically strong hash function is used, hashing the user's password together with another salt, which makes it completely impossible for an attacker to guess the user's password.
Get VoxelMancy - Build Your World!
VoxelMancy - Build Your World!
Collaborative sandbox with flexible voxels
More posts
- Emission53 days ago
- Blueprints and props61 days ago
- Ability to privatize land76 days ago
- Lights editorMar 22, 2025
- Working on summer forestFeb 17, 2025
- Ability to dig landscapeDec 02, 2024
Leave a comment
Log in with itch.io to leave a comment.