28.12.2017, 11:32
(This post was last modified: 28.12.2017, 11:49 by Mackiovello.)
I'm building an application that's interacting with a database that's backed up. In this application, I need to create a new user. The issue I have is how to create the password since the password is hashed (as it should be). I understand that you can't give away what hashing function and salt that you use for security reasons.
Is there any way for me to create users in the database and then reload the database into the application?
To clarify, this is what I want to do:
1. Backup the database locally
2. Create a new user in the database
3. Reload the database into the application
It might be that I'm doing this wrong and that it would be better to use a Lua script in the Logic Machine. If so, how would I do to create a Lua script that runs on-demand and is able to create new visobjects, floors etc.?
Is there any way for me to create users in the database and then reload the database into the application?
To clarify, this is what I want to do:
1. Backup the database locally
2. Create a new user in the database
3. Reload the database into the application
It might be that I'm doing this wrong and that it would be better to use a Lua script in the Logic Machine. If so, how would I do to create a Lua script that runs on-demand and is able to create new visobjects, floors etc.?