286
Tech Forum / Re: Forum and game security discussion
« on: August 20, 2012, 02:49:57 pm »
I'm not an expert, i only know the basic principles, but it seems actually your safety is in your own hands here, depends on you more than on anything else.
What is stored in the database (which is accessible both for the game and the forum) is the encrypted password (password hash) not the human-readable password itself (and i don't have to ask the devs if this database is stored on a different server than the forum, simple logic tells me that's how it works).
Now, the same password hash travels over public internet from your PC to the game server each time you login into the game.
Suppose someone manages to monitor this traffic or succeeds in hacking into the forum - in both cases the result is exactly the same: the hacker will have your password hash.
Yes, in certain cases the password hashes can be de-crypted. If the hacker succeeds in this he will have your original (plain-text) password that can be used for logging into your game account.
Problem here is not so much where and how the password hashes are held, the root of the problem is password length and complexity. If your password is 8 symbols or less, a common dictionary word and only contains lower case characters (no digits and/or special symbols) it's not 100% safe even with the best encryption.
Solution is simple - if your password is too short and simple, change it, make it safe.
________________________________________________
Now the password changing procedure. What exactly happens when passwords are changed?
If you change your password yourself, your old password is asked first, encrypted, sent to the server which will compare this hash with the hash stored in it's database. If this operation succeeds the old password hash is overwritten with the new password hash. Nowhere in the whole process is the encrypted password decrypted into human-readable form.
If it is administrator who changes your password for you, the administrator password has to be entered first, all the rest is the same. It's the administrators responsibility to have a good, safe password on his account.
What is stored in the database (which is accessible both for the game and the forum) is the encrypted password (password hash) not the human-readable password itself (and i don't have to ask the devs if this database is stored on a different server than the forum, simple logic tells me that's how it works).
Now, the same password hash travels over public internet from your PC to the game server each time you login into the game.
Suppose someone manages to monitor this traffic or succeeds in hacking into the forum - in both cases the result is exactly the same: the hacker will have your password hash.
Yes, in certain cases the password hashes can be de-crypted. If the hacker succeeds in this he will have your original (plain-text) password that can be used for logging into your game account.
Problem here is not so much where and how the password hashes are held, the root of the problem is password length and complexity. If your password is 8 symbols or less, a common dictionary word and only contains lower case characters (no digits and/or special symbols) it's not 100% safe even with the best encryption.
Solution is simple - if your password is too short and simple, change it, make it safe.

________________________________________________
Now the password changing procedure. What exactly happens when passwords are changed?
If you change your password yourself, your old password is asked first, encrypted, sent to the server which will compare this hash with the hash stored in it's database. If this operation succeeds the old password hash is overwritten with the new password hash. Nowhere in the whole process is the encrypted password decrypted into human-readable form.
If it is administrator who changes your password for you, the administrator password has to be entered first, all the rest is the same. It's the administrators responsibility to have a good, safe password on his account.
