do not use password() in your own applications.

· 2011-01-26 (수) 02:38:54 · 2024 · 1
http://dev.mysql.com/doc/refman/5.1/en/encryption-functions.html#function_password

The PASSWORD() function is used by the authentication system in MySQL Server; you should not use it in your own applications. For that purpose, consider MD5() or SHA1() instead. Also see RFC 2195, section 2 (Challenge-Response Authentication Mechanism (CRAM)), for more information about handling passwords and authentication securely in your applications.

대강 password() 함수를 쓰지 말고
md5()나 sha1()을 써라"는 뜻.
|

댓글 1개

뒷 부분을 빼먹으신듯... 뒷 부분에 그 까닭이 나옵니다.

Important
Statements that invoke PASSWORD() may be recorded in server logs or in a history file such as ~/.mysql_history, which means that plaintext passwords may be read by anyone having read access to that information. See Section 5.3.2, “Password Security in MySQL”.

중요!
PASSWORD()를 실행하는 sql 구문이 서버의 로그 파일이나 '~/.mysql_history'와 같은 히스토리 파일에 기록될 가능성이 있습니다. 그것은 로그 파일이나 히스토리 파일에 접근 권한이 있는 누군가에 의해 암호화되지 않은 패스워드가 읽혀질 가능성이 있음을 의미합니다. 5.3.2 섹션 "MySQL에서의 패스워드 보안"을 참조하세요.

영어 부분을 긁어왔더니 댓글입력에서 지워지는 바람에 다시 번역해서 올립니다...
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
11-08-16 조회 2,394
11-08-16 조회 2,363
11-08-12 조회 2,206
11-08-02 조회 2,787
11-07-27 조회 2,181
11-07-25 조회 2,308
11-06-28 조회 2,468
11-06-06 조회 3,937
11-06-04 조회 2,570
11-04-25 조회 6,156
11-04-22 조회 2,653
11-04-21 조회 2,842
11-04-08 조회 3,195
11-03-31 조회 2,799
11-03-20 조회 3,194
11-03-10 조회 2,848
11-03-04 조회 3,172
11-03-03 조회 2,883
11-02-26 조회 4,313
11-02-14 조회 5,669
11-02-08 조회 3,275
11-01-30 조회 5,337
11-01-14 조회 5,118
11-01-14 조회 3,707
11-01-14 조회 2,874
11-01-14 조회 2,911
11-01-14 조회 3,058
11-01-12 조회 2,769
11-01-07 조회 4,492
10-12-29 조회 2,392
10-12-22 조회 2,463
10-12-05 조회 5,766
10-11-22 조회 5,186
10-11-13 조회 3,583
10-10-27 조회 3,200
10-10-21 조회 2,901
10-09-21 조회 2,889
10-09-17 조회 2,944
10-09-15 조회 3,389
10-09-14 조회 4,001
10-05-18 조회 2,866
10-02-17 조회 4,305
10-02-12 조회 3,078
09-12-14 조회 5,069
09-12-14 조회 5,973
09-09-19 조회 4,375
09-08-16 조회 6,200
09-07-22 조회 5,624
09-04-13 조회 3,036
09-03-15 조회 5,038
09-03-05 조회 3,870
09-02-09 조회 2,797
08-12-30 조회 3,011
08-12-06 조회 3,214
08-11-30 조회 3,557
08-10-18 조회 4,387
08-10-08 조회 3,661
08-09-19 조회 4,334
08-09-05 조회 2,973
08-09-05 조회 5,075
08-09-05 조회 2,963
08-09-05 조회 3,552
08-09-05 조회 3,470
08-09-01 조회 4,489
08-08-07 조회 2,746
08-06-08 조회 3,217
08-06-02 조회 2,808
08-05-26 조회 5,229
08-05-09 조회 4,297
08-04-22 조회 3,885
08-04-17 조회 4,458
08-04-17 조회 5,555
08-04-17 조회 3,671
08-04-17 조회 8,673
08-04-17 조회 4,548
08-04-17 조회 4,487
08-04-09 조회 3,047
08-03-31 조회 3,539
08-03-26 조회 3,235
08-03-25 조회 3,527
08-03-25 조회 3,954
08-03-25 조회 3,999
08-03-25 조회 3,661
08-03-25 조회 3,550
08-03-25 조회 3,552
08-03-25 조회 5,243
08-02-03 조회 5,199
08-01-18 조회 6,612
08-01-17 조회 3,911
08-01-17 조회 3,732
08-01-12 조회 4,012
08-01-08 조회 3,325
07-12-28 조회 4,610
07-12-04 조회 3,483
07-11-30 조회 5,093
07-11-30 조회 5,709
07-11-02 조회 4,006
07-10-24 조회 3,985
07-10-24 조회 3,249
07-10-24 조회 3,368