comparison xml/en/docs/http/ngx_http_auth_basic_module.xml @ 655:93d2a54d247c

Added information about supported password types.
author Vladimir Homutov <vl@nginx.com>
date Mon, 27 Aug 2012 12:40:50 +0000
parents 764fbac1b8b4
children 7d15bd7fc58d
comparison
equal deleted inserted replaced
654:841118e33f41 655:93d2a54d247c
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_auth_basic_module" 10 <module name="Module ngx_http_auth_basic_module"
11 link="/en/docs/http/ngx_http_auth_basic_module.html" 11 link="/en/docs/http/ngx_http_auth_basic_module.html"
12 lang="en" 12 lang="en"
13 rev="1"> 13 rev="2">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_auth_basic_module</literal> module allows 18 The <literal>ngx_http_auth_basic_module</literal> module allows
84 name3:password3 84 name3:password3
85 </example> 85 </example>
86 </para> 86 </para>
87 87
88 <para> 88 <para>
89 Passwords should be encrypted with the <c-func>crypt</c-func> function. 89 The following password types are supported:
90 The <command>htpasswd</command> command from the Apache web server 90 <list type="bullet">
91 distribution can be used to create such a file. 91
92 <listitem>
93 encrypted with the <c-func>crypt</c-func> function; can be generated using
94 the “<command>htpasswd</command>” utility from the Apache HTTP Server
95 distribution or the “<command>openssl passwd</command>” command;
96 </listitem>
97
98 <listitem>
99 hashed with the Apache variant of the MD5-based password algorithm (apr1);
100 can be generated with the same tools;
101 </listitem>
102
103 <listitem>
104 specified by the
105 “<literal>{</literal><value>scheme</value><literal>}</literal><value>data</value>”
106 syntax (1.0.3+) as described in
107 <link url="http://tools.ietf.org/html/rfc2307#section-5.3">RFC 2307</link>;
108 currently implemented schemes include <literal>PLAIN</literal> (an example one,
109 should not be used) and <literal>SSHA</literal> (salted SHA-1 hashing, used
110 by some software packages, notably OpenLDAP and Dovecot).
111 </listitem>
112
113 </list>
92 </para> 114 </para>
93 115
94 </directive> 116 </directive>
95 117
96 </section> 118 </section>