| | |
PHP Login (Ask for random password digits)
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2009
Posts: 9
Reputation:
Solved Threads: 0
Hi,
This has been puzzling me and i hope someone can help. I have a MySQL database field that contains a members password "password" and i need a login script that asks for the customers username and 4 random digit's of there password, for example:
Username: [ ]
Password:
Digit 2 [ ], Digit 4 [ ], Digit 6 [ ], Digit 8 [ ]
But if there password is only 7 digit's it would be pointless asking for an 8th digit - so i also need help working that out too. If anyone has a code example or could type a quick one up it would be superb.
Thanks,
Zack.
This has been puzzling me and i hope someone can help. I have a MySQL database field that contains a members password "password" and i need a login script that asks for the customers username and 4 random digit's of there password, for example:
Username: [ ]
Password:
Digit 2 [ ], Digit 4 [ ], Digit 6 [ ], Digit 8 [ ]
But if there password is only 7 digit's it would be pointless asking for an 8th digit - so i also need help working that out too. If anyone has a code example or could type a quick one up it would be superb.
Thanks,
Zack.
if stored clear in the database and transmitted in clear between the pc and the server its not a password its an invitaion to packet sniffers
hash: Md5 sha or otherwise (md5 serverside | md5 clientside) the password and verification of the password on the pc at account setup, and transmit & store the hash in the password column
hash the entry password on the pc and send the hash for verification
nobody knows what the password is, sniffers can't read the password
Users will continually make errors in this 4th char 3rd char crap
even if you ask for their name as a password people will count characters wrong
hash: Md5 sha or otherwise (md5 serverside | md5 clientside) the password and verification of the password on the pc at account setup, and transmit & store the hash in the password column
hash the entry password on the pc and send the hash for verification
nobody knows what the password is, sniffers can't read the password
Users will continually make errors in this 4th char 3rd char crap
even if you ask for their name as a password people will count characters wrong
Last edited by almostbob; Sep 27th, 2009 at 3:35 pm.
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
![]() |
Similar Threads
- Strange PHP login error (PHP)
- php login with username and password (PHP)
- PHP login/password script (PHP)
- php login page problem (PHP)
Other Threads in the PHP Forum
- Previous Thread: Joomla and php... What is the difference...
- Next Thread: urgent, i really need a guidance
| Thread Tools | Search this Thread |
.net action ajax archive array asp automatically beginner broken c# class cms code crack curl data database display downloader eclipse ecommerce email encryption execution explodefunction file files flash folder form forms gentoo government hack head html ibm image include integration java javascript jquery js keywords lamp ldap limit link links linux login longisland mail malfunction matching memmory menu multiple mysql news oop password paypal php post protection protocol query reply script search security seo server session sms soap spam sql static subscription survey system tag torvalds tutorial up-to-date upload user validation vbulletin video vista web webdesign window xml youtube zend







