79574

79574



Password Hashing in MySQL

MySQL lists user accounts in the user table of the mysql database. Each MySQL account can be

assigned a password, although the user table does not storę the cleartext version of the password, but a hash value computed from it.

MySQL uses passwords in two phases of client/server communication:

•    When a Client attempts to connect to the server, there is an initial authentication step in which the

Client must present a password that has a hash value matching the hash

value stored in the user

table for the account the Client wants to use.

•    After the Client connects, it can (if it has sufficient privileges) set or change the password hash for

accounts listed in the user table. The Client can do this by using the PASSWORD () [1283] function to

generate a password hash, or by using a password-generating statement

(CREATE USER, GRANT, Or SET PASSWORD).

In other words, the server cliecks hash values during authentication when a Client first attempts to

connect. The server generates hash values if a connected Client invokes

the PASSWORD () [1283]

function or uses a password-generating statement to set or change a password.

Password hashing methods in MySQL have the history described following. These changes are

illustrated by changes in the result from the PASSWORD () [1283] function that computes password

hash values and in the structure of the user table where passwords are stored.



Wyszukiwarka

Podobne podstrony:
023(1) Glow In The DarkMaterialg for Each Chlld: 1 sheet of 9* x 12“ dark-colored construction paper
Bruce, Elizabeth ?ith in the Stables (BS) Faith W im> ‘Slaves can have no opinion as to the tigh
Database Identification In the Global Database Name field, enter the database namc in the form datab
to speak in the diflerent languages, if financial arrangcments can be madę, this is sufficient for t
Slip Stitch Patterns Whether the are worked in 4 the same or difTerent colors, you can aeate
IMG 1310191018 Exercise 5 Fili in the gaps using: is, isn*tt can, must, cant, mustnt, have got, am,
Obraz5 (33) Zadanie 6. 6.1    C But of course, the article in the magazine wasn t su
Assigning Anonymous Account Passwords The mysql commands in the following instructions include a -p
Copy an Existing Data Directory With this method, any MySQL accounts or user data present in the dat
Contributors to MySQL Although Oracle Corporation and/or its affiliates own all copyrights in the My
Deviations from SQL Standards MySQL s implementation of foreign keys differs from the SQL standard i
MySQL Enterprise Oracle offers technical support in the form of MySQL Enterprise. For organizations
Selecting SQL Modes The MySQL server can operate in different SQL modes, and can apply these modes d
Usingmysąi in Batch Modę In the previous sections, you used mysql interactively to enter queries and
About Password Policies When you create a user account, a dcfault password policy is assigncd to tha
SCI Transport Connections in MySQL Cluster [sci] sections in the config.ini file explicitly define S
Standard MySQL clients. MySQL Cluster can be used with existing MySQL applications written in PHP, P
00150 D9acbde9d435381a2e9b8d77b152fd5 151 Optimization and Sensitmty Analysis account for over 90%

więcej podobnych podstron