Jump to content

keeping UserID secure


jesushax

Recommended Posts

I suppose if you ahve a site that has to be supper secure then yes md5 would stop injections as it would always return alphanumeric charactors.

 

I generally hold userid from the username entered and verify by selecting password from table where username = 'xxx' and then check the md5 pass in database against one sent therefore it's securly checked and sessionid will only be stored after user and pass match anyway therefore there will be no injection attacks further down the line as username is in a session and already validated.

 

Just my 2 pence.

 

regards

Liam

Link to comment
https://forums.phpfreaks.com/topic/94243-keeping-userid-secure/#findComment-482719
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.