Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit42b689a

Browse files
committed
More forcefully recommend MD5 over crypt authentication.
1 parent24fa874 commit42b689a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

‎doc/src/sgml/client-auth.sgml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.84 2005/10/24 15:38:36 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.85 2005/10/24 15:49:54 momjian Exp $
33
-->
44

55
<chapter id="client-authentication">
@@ -319,11 +319,16 @@ hostnossl <replaceable>database</replaceable> <replaceable>user</replaceable>
319319
<varlistentry>
320320
<term><literal>crypt</></term>
321321
<listitem>
322+
<note>
323+
<para>
324+
This option is recommended only for communicating with pre-7.2
325+
clients.
326+
</para>
327+
</note>
322328
<para>
323329
Require the client to supply a <function>crypt()</>-encrypted
324330
password for authentication.
325-
<literal>md5</literal> is preferred for 7.2 and later clients,
326-
but pre-7.2 clients only support <literal>crypt</>.
331+
<literal>md5</literal> is now recommended over <literal>crypt</>.
327332
See <xref linkend="auth-password"> for details.
328333
</para>
329334
</listitem>
@@ -589,8 +594,8 @@ local db1,db2,@demodbs all md5
589594
<para>
590595
If you are at all concerned about password
591596
<quote>sniffing</> attacks then <literal>md5</> is preferred, with
592-
<literal>crypt</>a second choice if you must support pre-7.2
593-
clients. Plain <literal>password</> shouldespeciallybe avoided for
597+
<literal>crypt</>to be used only if you must support pre-7.2
598+
clients. Plain <literal>password</> should be avoided especially for
594599
connections over the open Internet (unless you use <acronym>SSL</acronym>,
595600
<acronym>SSH</>, or another
596601
communications security wrapper around the connection).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp