home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / apache_2.2.8-win32-x86-no_ssl.msi / Data1.cab / _3E4B4759733C207DC285B96F4C2A3127 < prev    next >
Extensible Markup Language  |  2007-09-01  |  9KB  |  136 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>mod_authn_dbm - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body>
  14. <div id="page-header">
  15. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
  16. <p class="apache">Apache HTTP Server Version 2.2</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">Modules</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>Apache Module mod_authn_dbm</h1>
  23. <div class="toplang">
  24. <p><span>Available Languages: </span><a href="../en/mod/mod_authn_dbm.html" title="English"> en </a> |
  25. <a href="../ja/mod/mod_authn_dbm.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  26. <a href="../ko/mod/mod_authn_dbm.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  27. </div>
  28. <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>User authentication using DBM files</td></tr>
  29. <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
  30. <tr><th><a href="module-dict.html#ModuleIdentifier">ModuleáIdentifier:</a></th><td>authn_dbm_module</td></tr>
  31. <tr><th><a href="module-dict.html#SourceFile">SourceáFile:</a></th><td>mod_authn_dbm.c</td></tr>
  32. <tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache 2.1 and later</td></tr></table>
  33. <h3>Summary</h3>
  34.  
  35.     <p>This module provides authentication front-ends such as
  36.     <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code> and <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code>
  37.     to authenticate users by looking up users in <dfn>dbm</dfn> password
  38.     files. Similar functionality is provided by
  39.     <code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code>.</p>
  40.  
  41.     <p>When using <code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code> or
  42.     <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code>, this module is invoked via the
  43.     <code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code> or
  44.     <code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code>
  45.     with the <code>dbm</code> value.</p>
  46. </div>
  47. <div id="quickview"><h3 class="directives">Directives</h3>
  48. <ul id="toc">
  49. <li><img alt="" src="../images/down.gif" /> <a href="#authdbmtype">AuthDBMType</a></li>
  50. <li><img alt="" src="../images/down.gif" /> <a href="#authdbmuserfile">AuthDBMUserFile</a></li>
  51. </ul>
  52. <h3>See also</h3>
  53. <ul class="seealso">
  54. <li><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code></li>
  55. <li><code class="directive"><a href="../mod/core.html#authtype">AuthType</a></code></li>
  56. <li>
  57.   <code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code>
  58. </li>
  59. <li>
  60.   <code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code>
  61. </li>
  62. </ul></div>
  63.  
  64. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  65. <div class="directive-section"><h2><a name="AuthDBMType" id="AuthDBMType">AuthDBMType</a> <a name="authdbmtype" id="authdbmtype">Directive</a></h2>
  66. <table class="directive">
  67. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Sets the type of database file that is used to
  68. store passwords</td></tr>
  69. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDBMType default|SDBM|GDBM|NDBM|DB</code></td></tr>
  70. <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>AuthDBMType default</code></td></tr>
  71. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  72. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  73. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
  74. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_authn_dbm</td></tr>
  75. </table>
  76.     <p>Sets the type of database file that is used to store the passwords.
  77.     The default database type is determined at compile time.  The
  78.     availability of other types of database files also depends on
  79.     <a href="../install.html#dbm">compile-time settings</a>.</p>
  80.  
  81.     <p>It is crucial that whatever program you use to create your password
  82.     files is configured to use the same type of database.</p>
  83.  
  84. </div>
  85. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  86. <div class="directive-section"><h2><a name="AuthDBMUserFile" id="AuthDBMUserFile">AuthDBMUserFile</a> <a name="authdbmuserfile" id="authdbmuserfile">Directive</a></h2>
  87. <table class="directive">
  88. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Sets the name of a database file containing the list of users and
  89. passwords for authentication</td></tr>
  90. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>AuthDBMUserFile <var>file-path</var></code></td></tr>
  91. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory, .htaccess</td></tr>
  92. <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>AuthConfig</td></tr>
  93. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
  94. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_authn_dbm</td></tr>
  95. </table>
  96.     <p>The <code class="directive">AuthDBMUserFile</code> directive sets the
  97.     name of a DBM file containing the list of users and passwords for
  98.     user authentication. <var>File-path</var> is the absolute path to
  99.     the user file.</p>
  100.  
  101.     <p>The user file is keyed on the username. The value for a user is
  102.     the encrypted password, optionally followed by a colon and arbitrary
  103.     data. The colon and the data following it will be ignored by the
  104.     server.</p>
  105.  
  106.     <div class="warning"><h3>Security:</h3>
  107.       <p>Make sure that the <code class="directive">AuthDBMUserFile</code> is stored
  108.       outside the document tree of the web-server; do <em>not</em> put it in
  109.       the directory that it protects. Otherwise, clients will be able to
  110.       download the <code class="directive">AuthDBMUserFile</code>.</p>
  111.     </div>
  112.  
  113.     <p>Important compatibility note: The implementation of
  114.     <code>dbmopen</code> in the apache modules reads the string length of
  115.     the hashed values from the DBM data structures, rather than relying
  116.     upon the string being NULL-appended. Some applications, such as
  117.     the Netscape web server, rely upon the string being
  118.     NULL-appended, so if you are having trouble using DBM files
  119.     interchangeably between applications this may be a part of the
  120.     problem.</p>
  121.  
  122.     <p>A perl script called
  123.     <code class="program"><a href="../programs/dbmmanage.html">dbmmanage</a></code> is included with
  124.     Apache. This program can be used to create and update DBM
  125.     format password files for use with this module.</p>
  126.  
  127. </div>
  128. </div>
  129. <div class="bottomlang">
  130. <p><span>Available Languages: </span><a href="../en/mod/mod_authn_dbm.html" title="English"> en </a> |
  131. <a href="../ja/mod/mod_authn_dbm.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  132. <a href="../ko/mod/mod_authn_dbm.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  133. </div><div id="footer">
  134. <p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  135. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
  136. </body></html>