| 1. |
Perhaps The Most Important Data Items In Any Database System Are The Passwords That Control Access To The Database. Suggest A Scheme For The Secure Storage Of Passwords.be Sure That Your Scheme Allows The System To Test Passwords Supplied By Users Who Are Attempting To Log Into The System? |
|
Answer» A scheme for storing passwords would be to encrypt each password, and then use a hash index on the user-id. The user-id can be USED to easily access the ENCRYPTED password. The password being used in a login attempt is then encrypted and compared with the STORED encryption of the correct password. An advantage of this scheme is that passwords are not stored in CLEAR text and the code for decryption NEED not even exist! A scheme for storing passwords would be to encrypt each password, and then use a hash index on the user-id. The user-id can be used to easily access the encrypted password. The password being used in a login attempt is then encrypted and compared with the stored encryption of the correct password. An advantage of this scheme is that passwords are not stored in clear text and the code for decryption need not even exist! |
|