6ae232055d4d8a97267517c5e50074c2c819941and<?xml version="1.0" encoding="UTF-8"?>
6ae232055d4d8a97267517c5e50074c2c819941and<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head>
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd<!--
6ae232055d4d8a97267517c5e50074c2c819941and XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6ae232055d4d8a97267517c5e50074c2c819941and This file is generated from xml source: DO NOT EDIT
6ae232055d4d8a97267517c5e50074c2c819941and XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6ae232055d4d8a97267517c5e50074c2c819941and -->
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc<title>mod_authn_dbm - Apache HTTP サーバ バージョン 2.5</title>
6ae232055d4d8a97267517c5e50074c2c819941and<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
6ae232055d4d8a97267517c5e50074c2c819941and<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
2e545ce2450a9953665f701bb05350f0d3f26275nd<script src="/style/scripts/prettify.min.js" type="text/javascript">
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen</script>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
6ae232055d4d8a97267517c5e50074c2c819941and<link href="/images/favicon.ico" rel="shortcut icon" /></head>
6ae232055d4d8a97267517c5e50074c2c819941and<body>
6ae232055d4d8a97267517c5e50074c2c819941and<div id="page-header">
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<p class="menu"><a href="/mod/">モジュール</a> | <a href="/mod/quickreference.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">用語</a> | <a href="/sitemap.html">サイトマップ</a></p>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<p class="apache">Apache HTTP サーバ バージョン 2.5</p>
6ae232055d4d8a97267517c5e50074c2c819941and<img alt="" src="/images/feather.gif" /></div>
6ae232055d4d8a97267517c5e50074c2c819941and<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
6ae232055d4d8a97267517c5e50074c2c819941and<div id="path">
b43f840409794ed298e8634f6284741f193b6c4ftakashi<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP サーバ</a> &gt; <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> &gt; <a href="../">バージョン 2.5</a> &gt; <a href="./">モジュール</a></div>
6ae232055d4d8a97267517c5e50074c2c819941and<div id="page-content">
6ae232055d4d8a97267517c5e50074c2c819941and<div id="preamble"><h1>Apache モジュール mod_authn_dbm</h1>
6ae232055d4d8a97267517c5e50074c2c819941and<div class="toplang">
b43f840409794ed298e8634f6284741f193b6c4ftakashi<p><span>翻訳済み言語: </span><a href="/en/mod/mod_authn_dbm.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
053bfa8a288528fafab2b7a032c15116bb5de711nd<a href="/fr/mod/mod_authn_dbm.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
6ae232055d4d8a97267517c5e50074c2c819941and<a href="/ja/mod/mod_authn_dbm.html" title="Japanese">&nbsp;ja&nbsp;</a> |
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<a href="/ko/mod/mod_authn_dbm.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
6ae232055d4d8a97267517c5e50074c2c819941and</div>
b43f840409794ed298e8634f6284741f193b6c4ftakashi<div class="outofdate">この日本語訳はすでに古くなっている
b43f840409794ed298e8634f6284741f193b6c4ftakashi 可能性があります。
b43f840409794ed298e8634f6284741f193b6c4ftakashi 最近更新された内容を見るには英語版をご覧下さい。
b43f840409794ed298e8634f6284741f193b6c4ftakashi </div>
6ae232055d4d8a97267517c5e50074c2c819941and<table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>DBM ファイルを用いたユーザ認証</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>authn_dbm_module</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_authn_dbm.c</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="module-dict.html#Compatibility">互換性:</a></th><td>Apache 2.1 以降</td></tr></table>
6ae232055d4d8a97267517c5e50074c2c819941and<h3>概要</h3>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <p>本モジュールは <code class="module"><a href="/mod/mod_auth_digest.html">mod_auth_digest</a></code> や
6ae232055d4d8a97267517c5e50074c2c819941and <code class="module"><a href="/mod/mod_auth_basic.html">mod_auth_basic</a></code> といった認証フロントエンドに対して、
6ae232055d4d8a97267517c5e50074c2c819941and <dfn>dbm</dfn> パスワードファイル内からのユーザ検索による
6ae232055d4d8a97267517c5e50074c2c819941and ユーザ認証機能を提供します。似たような機能は <code class="module"><a href="/mod/mod_authn_file.html">mod_authn_file</a></code>
6ae232055d4d8a97267517c5e50074c2c819941and でも提供されています。</p>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <p><code class="module"><a href="/mod/mod_auth_basic.html">mod_auth_basic</a></code> や <code class="module"><a href="/mod/mod_auth_digest.html">mod_auth_digest</a></code>
6ae232055d4d8a97267517c5e50074c2c819941and を使用する際には、このモジュールは
6ae232055d4d8a97267517c5e50074c2c819941and <code class="directive"><a href="/mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code> や
6ae232055d4d8a97267517c5e50074c2c819941and <code class="directive"><a href="/mod/mod_auth_digest.html#authdigestprivider">AuthDigestPrivider</a></code>
6ae232055d4d8a97267517c5e50074c2c819941and で <code>dbm</code> と指定することで起動されます。</p>
6ae232055d4d8a97267517c5e50074c2c819941and</div>
6ae232055d4d8a97267517c5e50074c2c819941and<div id="quickview"><h3 class="directives">ディレクティブ</h3>
6ae232055d4d8a97267517c5e50074c2c819941and<ul id="toc">
6ae232055d4d8a97267517c5e50074c2c819941and<li><img alt="" src="/images/down.gif" /> <a href="#authdbmtype">AuthDBMType</a></li>
6ae232055d4d8a97267517c5e50074c2c819941and<li><img alt="" src="/images/down.gif" /> <a href="#authdbmuserfile">AuthDBMUserFile</a></li>
6ae232055d4d8a97267517c5e50074c2c819941and</ul>
6ae232055d4d8a97267517c5e50074c2c819941and<h3>参照</h3>
6ae232055d4d8a97267517c5e50074c2c819941and<ul class="seealso">
070897b4d34cbd17fd2846289189f2a9891f9c84takashi<li><code class="directive"><a href="/mod/mod_authn_core.html#authname">AuthName</a></code></li>
070897b4d34cbd17fd2846289189f2a9891f9c84takashi<li><code class="directive"><a href="/mod/mod_authn_core.html#authtype">AuthType</a></code></li>
6ae232055d4d8a97267517c5e50074c2c819941and<li>
6ae232055d4d8a97267517c5e50074c2c819941and <code class="directive"><a href="/mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code>
6ae232055d4d8a97267517c5e50074c2c819941and</li>
6ae232055d4d8a97267517c5e50074c2c819941and<li>
6ae232055d4d8a97267517c5e50074c2c819941and <code class="directive"><a href="/mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code>
6ae232055d4d8a97267517c5e50074c2c819941and</li>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh</ul><ul class="seealso"><li><a href="#comments_section">コメント</a></li></ul></div>
1f1b6bf13313fdd14a45e52e553d3ff28689b717coar
6ae232055d4d8a97267517c5e50074c2c819941and<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
6ae232055d4d8a97267517c5e50074c2c819941and<div class="directive-section"><h2><a name="AuthDBMType" id="AuthDBMType">AuthDBMType</a> <a name="authdbmtype" id="authdbmtype">ディレクティブ</a></h2>
6ae232055d4d8a97267517c5e50074c2c819941and<table class="directive">
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Description">説明:</a></th><td>パスワードを保存するために必要なデータベースファイルの種類を
6ae232055d4d8a97267517c5e50074c2c819941and設定する</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>AuthDBMType default|SDBM|GDBM|NDBM|DB</code></td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>AuthDBMType default</code></td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authn_dbm</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and</table>
6ae232055d4d8a97267517c5e50074c2c819941and <p>パスワードを保存するために使用するデータベースファイルの種類を
6ae232055d4d8a97267517c5e50074c2c819941and 設定します。デフォルトのデータベースの種類はコンパイル時に決まります。
6ae232055d4d8a97267517c5e50074c2c819941and 他の種類のデータベースが使用可能かどうかも <a href="/install.html#dbm">コンパイル時の設定</a>に依存します。</p>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <p>パスワードファイルを作成するのに使用するプログラムが同じ種類のデータベースを
6ae232055d4d8a97267517c5e50074c2c819941and 使用するように設定することは非常に重要です。</p>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and</div>
6ae232055d4d8a97267517c5e50074c2c819941and<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
6ae232055d4d8a97267517c5e50074c2c819941and<div class="directive-section"><h2><a name="AuthDBMUserFile" id="AuthDBMUserFile">AuthDBMUserFile</a> <a name="authdbmuserfile" id="authdbmuserfile">ディレクティブ</a></h2>
6ae232055d4d8a97267517c5e50074c2c819941and<table class="directive">
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Description">説明:</a></th><td>認証用のユーザとパスワードのリストを保持している
6ae232055d4d8a97267517c5e50074c2c819941andデータベースファイル名を設定する</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>AuthDBMUserFile <var>file-path</var></code></td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Extension</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and<tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authn_dbm</td></tr>
6ae232055d4d8a97267517c5e50074c2c819941and</table>
6ae232055d4d8a97267517c5e50074c2c819941and <p><code class="directive">AuthDBMUserFile</code> ディレクティブは
6ae232055d4d8a97267517c5e50074c2c819941and 認証用のユーザとパスワードのリストを保持している DBM ファイルの
6ae232055d4d8a97267517c5e50074c2c819941and 名前を設定します。<var>File-path</var> はユーザファイルへの
6ae232055d4d8a97267517c5e50074c2c819941and 絶対パスです。</p>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <p>ユーザファイルのキーはユーザ名です。ユーザに対して返される値は
6ae232055d4d8a97267517c5e50074c2c819941and 暗号化されたパスワードで、その後に、コロンに続いて任意のデータが
6ae232055d4d8a97267517c5e50074c2c819941and 続いていることもあります。コロンとその後のデータはサーバは
6ae232055d4d8a97267517c5e50074c2c819941and 無視します。</p>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <div class="warning"><h3>セキュリティ</h3>
6ae232055d4d8a97267517c5e50074c2c819941and <p><code class="directive">AuthDBMUserFile </code> は、
6ae232055d4d8a97267517c5e50074c2c819941and ウェブサーバのドキュメントツリーの外側に保管するようにしてください。
6ae232055d4d8a97267517c5e50074c2c819941and 保護しようとしているディレクトリ以下には
6ae232055d4d8a97267517c5e50074c2c819941and <strong>置かないで下さい</strong>。
6ae232055d4d8a97267517c5e50074c2c819941and そうしないとクライアントが <code class="directive">AuthUserFile</code> を
6ae232055d4d8a97267517c5e50074c2c819941and ダウンロードできてしまいます。</p>
6ae232055d4d8a97267517c5e50074c2c819941and </div>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <p>重要な互換性に関する注意: apache module の <code>dbmopen</code> の実装は
6ae232055d4d8a97267517c5e50074c2c819941and 文字列が NULL で終わっていることに依存するのではなく、DBM データストラクチャ
6ae232055d4d8a97267517c5e50074c2c819941and のハッシュ値の文字列の長さを読み取ります。Netscape ウェブサーバなど、
6ae232055d4d8a97267517c5e50074c2c819941and アプリケーションの中には文字列が NULL で終わっていることに依存している
6ae232055d4d8a97267517c5e50074c2c819941and ものがあります。ですから、異なるアプリケーション間での DBM ファイルの
6ae232055d4d8a97267517c5e50074c2c819941and 使用に問題がある場合は、これが原因になっている可能性があります。</p>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and <p>Apache には <code class="program"><a href="/programs/dbmmanage.html">dbmmanage</a></code> という
6ae232055d4d8a97267517c5e50074c2c819941and perl スクリプトが含まれています。このプログラムを使ってこの
6ae232055d4d8a97267517c5e50074c2c819941and モジュールが使用する DBM フォーマットのパスワードファイルを作成したり
6ae232055d4d8a97267517c5e50074c2c819941and 更新したりすることができます。</p>
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and</div>
6ae232055d4d8a97267517c5e50074c2c819941and</div>
6ae232055d4d8a97267517c5e50074c2c819941and<div class="bottomlang">
b43f840409794ed298e8634f6284741f193b6c4ftakashi<p><span>翻訳済み言語: </span><a href="/en/mod/mod_authn_dbm.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
053bfa8a288528fafab2b7a032c15116bb5de711nd<a href="/fr/mod/mod_authn_dbm.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
6ae232055d4d8a97267517c5e50074c2c819941and<a href="/ja/mod/mod_authn_dbm.html" title="Japanese">&nbsp;ja&nbsp;</a> |
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<a href="/ko/mod/mod_authn_dbm.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
727872d18412fc021f03969b8641810d8896820bhumbedooh</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
0d0ba3a410038e179b695446bb149cce6264e0abnd<script type="text/javascript"><!--//--><![CDATA[//><!--
727872d18412fc021f03969b8641810d8896820bhumbedoohvar comments_shortname = 'httpd';
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedoohvar comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_authn_dbm.html';
0d0ba3a410038e179b695446bb149cce6264e0abnd(function(w, d) {
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
727872d18412fc021f03969b8641810d8896820bhumbedooh d.write('<div id="comments_thread"><\/div>');
0d0ba3a410038e179b695446bb149cce6264e0abnd var s = d.createElement('script');
0d0ba3a410038e179b695446bb149cce6264e0abnd s.type = 'text/javascript';
0d0ba3a410038e179b695446bb149cce6264e0abnd s.async = true;
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedooh s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
0d0ba3a410038e179b695446bb149cce6264e0abnd (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
0d0ba3a410038e179b695446bb149cce6264e0abnd }
0d0ba3a410038e179b695446bb149cce6264e0abnd else {
727872d18412fc021f03969b8641810d8896820bhumbedooh d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
0d0ba3a410038e179b695446bb149cce6264e0abnd }
0d0ba3a410038e179b695446bb149cce6264e0abnd})(window, document);
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh//--><!]]></script></div><div id="footer">
205f749042ed530040a4f0080dbcb47ceae8a374rjung<p class="apache">Copyright 2015 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p>
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<p class="menu"><a href="/mod/">モジュール</a> | <a href="/mod/quickreference.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">用語</a> | <a href="/sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
0d0ba3a410038e179b695446bb149cce6264e0abndif (typeof(prettyPrint) !== 'undefined') {
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd prettyPrint();
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd}
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd//--><!]]></script>
6ae232055d4d8a97267517c5e50074c2c819941and</body></html>