Jump to content
MakeWebGames

NEW GAMES ONLY--SUPER Secure your Password System, Stop using Md5.


Recommended Posts

Posted

I'm sorry for my last post, it was a stupid post.

 

I simply wanted to argue the fact that 150 char SALT random per user is not needed when it could be just as secure with SET 50 char SALT in the file. (obviously 150 random per user would be statistically more secure - but not needed)

You know what, this is something I agree with. Yes, it is not needed if you really don't want it and you think your site is secure enough.

I listed using a different salt per user as just one of a number of ways to make password storing safer. Like I said in a much earlier post from this thread, there are so many ways of storing passwords in a safer way. You could very well be using a 10 character salt and be just fine with it.

But there is so little to stop you from using a random salt with each user. Time spent generating the hash is negligible, and disk space usage is too, until you get huge amounts of players in which case you can certainly afford more disk space.

In the end, how far you want to go with this issue depends on how willing you are to provide the best and beyond for your players. If player passwords are easily cracked, then it is your players that suffer in the first place. Of course, if your game admin control panel is using the same security techniques then your game will suffer too, in a much more direct way :P

Posted
In the end, how far you want to go with this issue depends on how willing you are to provide the best and beyond for your players. If player passwords are easily cracked, then it is your players that suffer in the first place. Of course, if your game admin control panel is using the same security techniques then your game will suffer too, in a much more direct way

Yeah my admin panel works on another concept and at the moment most MC games run no admin panel security and just plain PASS to MD5 so i can see where that is alot different than what i use which is sha512 with ** char SALT (i won't give the exact amount of chars) i do though use my ideal rather than different SALT's per user i use a single one, like i believe SMF forum used at one point and still do.

so we agree to disagree?

Posted

Sure, soon as i can get it back from the wife ><

grr damn marriages, they eat all the food, spend all the money, and when it comes to "sexors" they have a headache

!

 

lol.

Posted
Replace the password bit with

 

$salted_hash

you may need to add { } around it {$salted_hash}

 

this does not work bro. but if i try to use just $userpass=$userpass it works, but im not so sure about how. lol

Posted

you can try it a few diff ways, it varies on the game set up and server

 

userpass=$salted_hash

userpass={$salted_hash}

`userpass` = '{$salted_hash}'

I had to do the last one on my staff change password for users bit.

Posted
Replace the password bit with

 

$salted_hash

you may need to add { } around it {$salted_hash}

 

this does not work bro. but if i try to use just $userpass=$userpass it works, but im not so sure about how. lol

It does work your just not doing it right!

Posted

Again Zero it depends on how the query looks

As it didnt want to quote in my preferances, kept bugging. Then changed to the first and it worked

Reg/Auth however I had to quote it.

Beats me ><

Posted

Different hash engines. Usually numbered by level of encryption strength

md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

Posted

whats the best one that is compatible with php and mysql?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...