mod_authn_dbm.html.ja.utf8 revision d229f940abfb2490dee17979e9a5ff31b7012eb5
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">
6ae232055d4d8a97267517c5e50074c2c819941and<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
6ae232055d4d8a97267517c5e50074c2c819941and XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6ae232055d4d8a97267517c5e50074c2c819941and This file is generated from xml source: DO NOT EDIT
6ae232055d4d8a97267517c5e50074c2c819941and XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6ae232055d4d8a97267517c5e50074c2c819941and -->
6ae232055d4d8a97267517c5e50074c2c819941and<title>mod_authn_dbm - Apache HTTP サーバ</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" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<script src="/style/scripts/prettify.js" type="text/javascript">
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen</script>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
6ae232055d4d8a97267517c5e50074c2c819941and<link href="/images/favicon.ico" rel="shortcut icon" /></head>
6ae232055d4d8a97267517c5e50074c2c819941and<body>
6ae232055d4d8a97267517c5e50074c2c819941and<div id="page-header">
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen<p class="menu"><a href="/mod/">モジュール</a> | <a href="/mod/directives.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> |
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>
6ae232055d4d8a97267517c5e50074c2c819941and</ul></div>
6ae232055d4d8a97267517c5e50074c2c819941and
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> |
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><div id="footer">
b43f840409794ed298e8634f6284741f193b6c4ftakashi<p class="apache">Copyright 2012 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p>
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen<p class="menu"><a href="/mod/">モジュール</a> | <a href="/mod/directives.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[//><!--
7fec19672a491661b2fe4b29f685bc7f4efa64d4ndif (typeof(prettyPrint) !== undefined) {
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd prettyPrint();
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd}
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd//--><!]]></script>
6ae232055d4d8a97267517c5e50074c2c819941and</body></html>