📄 mod_authn_file.html.ja.euc-jp
字号:
<?xml version="1.0" encoding="EUC-JP"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_authn_file - Apache HTTP サ〖バ</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<p class="menu"><a href="../mod/">モジュ〖ル</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">脱胳</a> | <a href="../sitemap.html">サイトマップ</a></p>
<p class="apache">Apache HTTP サ〖バ バ〖ジョン 2.2</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サ〖バ</a> > <a href="http://httpd.apache.org/docs/">ドキュメンテ〖ション</a> > <a href="../">バ〖ジョン 2.2</a> > <a href="./">モジュ〖ル</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache モジュ〖ル mod_authn_file</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="../en/mod/mod_authn_file.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_authn_file.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_authn_file.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div>
<table class="module"><tr><th><a href="module-dict.html#Description">棱汤:</a></th><td>テキストファイルを脱いたユ〖ザ千沮</td></tr>
<tr><th><a href="module-dict.html#Status">ステ〖タス:</a></th><td>Base</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">モジュ〖ル急侍灰:</a></th><td>authn_file_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">ソ〖スファイル:</a></th><td>mod_authn_file.c</td></tr>
<tr><th><a href="module-dict.html#Compatibility">高垂拉:</a></th><td>Apache 2.1 笆惯</td></tr></table>
<h3>车妥</h3>
<p>塑モジュ〖ルは <code class="module"><a href="../mod/mod_auth_digest.html">mod_auth_digest</a></code> や
<code class="module"><a href="../mod/mod_auth_basic.html">mod_auth_basic</a></code> といった千沮フロントエンドに滦して、
プレインテキストのパスワ〖ドファイル柒からユ〖ザを浮瑚することで、
ユ〖ザ千沮怠墙を捏丁します。击たような怠墙は <code class="module"><a href="../mod/mod_authn_dbm.html">mod_authn_dbm</a></code>
でも捏丁されています。</p>
<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>
を蝗脱する狠には、
<code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code> や
<code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprivider">AuthDigestPrivider</a></code>
で <code>file</code> と回年することでこのモジュ〖ルは弹瓢されます。</p>
</div>
<div id="quickview"><h3 class="directives">ディレクティブ</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#authuserfile">AuthUserFile</a></li>
</ul>
<h3>徊救</h3>
<ul class="seealso">
<li>
<code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code>
</li>
<li>
<code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code>
</li>
<li><code class="program"><a href="../programs/htpasswd.html">htpasswd</a></code></li>
<li><code class="program"><a href="../programs/htdigest.html">htdigest</a></code></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="AuthUserFile" id="AuthUserFile">AuthUserFile</a> <a name="authuserfile" id="authuserfile">ディレクティブ</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">棱汤:</a></th><td>千沮に蝗脱するユ〖ザとパスワ〖ドの办枉が呈羌されている、
テキストファイルの叹涟を肋年する</td></tr>
<tr><th><a href="directive-dict.html#Syntax">菇矢:</a></th><td><code>AuthUserFile <var>file-path</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">惧今き:</a></th><td>AuthConfig</td></tr>
<tr><th><a href="directive-dict.html#Status">ステ〖タス:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">モジュ〖ル:</a></th><td>mod_authn_file</td></tr>
</table>
<p><code class="directive">AuthUserFile</code> ディレクティブは、
ユ〖ザ千沮のためのユ〖ザとパスワ〖ドの办枉を呈羌した
テキストファイルの叹涟を肋年します。<var>file-path</var>
はユ〖ザファイルへのパスです。
もし冷滦パスでなければ、
<code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>
からの陵滦パスとして胺われます。</p>
<p>ユ〖ザファイルの称乖には、ユ〖ザ叹、コロン、
芭规步したパスワ〖ドを淡揭します。
票办ユ〖ザ ID が剩眶搀判峡された箕は、
<code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code>
は呵介に斧つかったパスワ〖ドを蝗脱して千沮します。</p>
<p>バイナリ芹邵の办婶としてインスト〖ルされるか、
あるいは <code>src/support</code> にある
<code class="program"><a href="../programs/htpasswd.html">htpasswd</a></code>
ユ〖ティリティで、この <em>HTTP 答塑千沮</em>
脱パスワ〖ドファイルをメインテナンスします。
拒嘿は <a href="../programs/htpasswd.html">man
ペ〖ジ</a>をご枉暮くとして、词帽には:</p>
<p>介袋 ID <code>username</code> で、<code>Filename</code>
というパスワ〖ドファイルを栏喇します。
肌のコマンドを券乖するとパスワ〖ドが妥滇されます:</p>
<div class="example"><p><code>
htpasswd -c Filename username
</code></p></div>
<p>パスワ〖ドファイル <code>Filename</code> に、<code>username2</code>
を纳裁したり饯赖したりします:</p>
<div class="example"><p><code>
htpasswd Filename username2
</code></p></div>
<p>(条庙: 润撅に驴くのユ〖ザを判峡すると络きなファイルになりますが)
络きなテキストファイルを浮瑚するのは<em>润撅に跟唯が碍い</em>
ということに庙罢してください。そのような涩妥のある箕は、
<code class="directive"><a href="../mod/mod_authn_dbm.html#authdbmuserfile">AuthDBMUserFile</a></code>
を洛わりに蝗ってください。</p>
<p><em>HTTP ダイジェスト千沮</em>を蝗脱する眷圭は、
<a href="../programs/htpasswd.html">htpasswd</a>
プログラムでは稍浇尸です。その洛わりに
<code class="program"><a href="../programs/htdigest.html">htdigest</a></code>
を蝗脱してください。ダイジェスト千沮脱のデ〖タと
答塑千沮脱のデ〖タを票办ファイルに寒ぜて瘦赂できない、
ということに庙罢してください。</p>
<div class="warning"><h3>セキュリティ</h3>
<p><code class="directive">AuthUserFile </code>
は、ウェブサ〖バのドキュメントツリ〖の嘲娄に瘦瓷するようにしてください。
瘦割しようとしているディレクトリ笆布には、<strong>弥かないで布さい</strong>。
そうしないと <code class="directive">AuthUserFile</code> は
ダウンロ〖ドできてしまいます。</p>
</div>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/mod/mod_authn_file.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ja/mod/mod_authn_file.html" title="Japanese"> ja </a> |
<a href="../ko/mod/mod_authn_file.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Copyright 2006 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>
<p class="menu"><a href="../mod/">モジュ〖ル</a> | <a href="../mod/directives.html">ディレクティブ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">脱胳</a> | <a href="../sitemap.html">サイトマップ</a></p></div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -