1<?xml version="1.0" encoding="UTF-8"?> 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="ja" xml:lang="ja"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>mod_authz_groupfile - Apache HTTP サーバ</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" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" /> 12<script src="/style/scripts/prettify.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body> 17<div id="page-header"> 18<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> 19<p class="apache">Apache HTTP サーバ バージョン 2.2</p> 20<img alt="" src="/images/feather.gif" /></div> 21<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 22<div id="path"> 23<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> 24<div id="page-content"> 25<div id="preamble"><h1>Apache モジュール mod_authz_groupfile</h1> 26<div class="toplang"> 27<p><span>翻訳済み言語: </span><a href="/en/mod/mod_authz_groupfile.html" hreflang="en" rel="alternate" title="English"> en </a> | 28<a href="/ja/mod/mod_authz_groupfile.html" title="Japanese"> ja </a> | 29<a href="/ko/mod/mod_authz_groupfile.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> 30</div> 31<table class="module"><tr><th><a href="module-dict.html#Description">説明:</a></th><td>プレーンテキストファイルを用いたグループ承認</td></tr> 32<tr><th><a href="module-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 33<tr><th><a href="module-dict.html#ModuleIdentifier">モジュール識別子:</a></th><td>authz_groupfile_module</td></tr> 34<tr><th><a href="module-dict.html#SourceFile">ソースファイル:</a></th><td>mod_authz_groupfile.c</td></tr> 35<tr><th><a href="module-dict.html#Compatibility">互換性:</a></th><td>Apache 2.1 以降</td></tr></table> 36<h3>概要</h3> 37 38 <p>このモジュールは認証されたユーザがグループのメンバーか 39 否かによってウェブサイトの一部へのアクセスを許可するか拒否するかの 40 承認機能を提供します。同様の機能は <code class="module"><a href="/mod/mod_authz_dbm.html">mod_authz_dbm</a></code> 41 によっても提供されています。</p> 42</div> 43<div id="quickview"><h3 class="directives">ディレクティブ</h3> 44<ul id="toc"> 45<li><img alt="" src="/images/down.gif" /> <a href="#authgroupfile">AuthGroupFile</a></li> 46<li><img alt="" src="/images/down.gif" /> <a href="#authzgroupfileauthoritative">AuthzGroupFileAuthoritative</a></li> 47</ul> 48<h3>参照</h3> 49<ul class="seealso"> 50<li><code class="directive"><a href="/mod/core.html#require">Require</a></code></li> 51<li><code class="directive"><a href="/mod/core.html#satisfy">Satisfy</a></code></li> 52</ul><ul class="seealso"><li><a href="#comments_section">コメント</a></li></ul></div> 53 54<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 55<div class="directive-section"><h2><a name="AuthGroupFile" id="AuthGroupFile">AuthGroupFile</a> <a name="authgroupfile" id="authgroupfile">ディレクティブ</a></h2> 56<table class="directive"> 57<tr><th><a href="directive-dict.html#Description">説明:</a></th><td>証認に使用するユーザグループの一覧が格納されている、 58テキストファイルの名前を設定する</td></tr> 59<tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>AuthGroupFile <var>file-path</var></code></td></tr> 60<tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr> 61<tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr> 62<tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 63<tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authz_groupfile</td></tr> 64</table> 65 <p><code class="directive">AuthGroupFile</code> ディレクティブは、 66 証認に使用するユーザグループの一覧が格納されている、 67 テキストファイルの名前を設定します。 68 <var>file-path</var> はグループファイルへのパスです。 69 絶対パスでなければ、 70 <code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code> 71 からの相対パスとして扱われます。</p> 72 73 <p>グループファイル各行は、グループ名、コロン、そして 74 スペース区切りでそのメンバーのユーザ名を記述します。</p> 75 76 <div class="example"><h3>例:</h3><p><code> 77 mygroup: bob joe anne 78 </code></p></div> 79 80 <p>大きなファイルを探索するのは、<em>非常に</em>効率が悪いという点に 81 注意してください。そのような場合は、 82 <code class="directive"><a href="/mod/mod_authz_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></code> 83 の方がずっと良い性能を発揮します。</p> 84 85 <div class="warning"><h3>セキュリティ</h3> 86 <p><code class="directive">AuthGroupFile</code> は、 87 ウェブサーバのドキュメントツリーの外側に 88 保管するようにしてください。 89 保護しようとしているディレクトリ以下には、<em>置かないで下さい</em>。 90 そうしないとクライアントが <code class="directive">AuthGroupFile</code> を 91 ダウンロードできてしまう可能性があります。</p> 92 </div> 93 94</div> 95<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 96<div class="directive-section"><h2><a name="AuthzGroupFileAuthoritative" id="AuthzGroupFileAuthoritative">AuthzGroupFileAuthoritative</a> <a name="authzgroupfileauthoritative" id="authzgroupfileauthoritative">ディレクティブ</a></h2> 97<table class="directive"> 98<tr><th><a href="directive-dict.html#Description">説明:</a></th><td>承認が下位のモジュールに渡されるかどうかを設定する</td></tr> 99<tr><th><a href="directive-dict.html#Syntax">構文:</a></th><td><code>AuthzGroupFileAuthoritative On|Off</code></td></tr> 100<tr><th><a href="directive-dict.html#Default">デフォルト:</a></th><td><code>AuthzGroupFileAuthoritative On</code></td></tr> 101<tr><th><a href="directive-dict.html#Context">コンテキスト:</a></th><td>ディレクトリ, .htaccess</td></tr> 102<tr><th><a href="directive-dict.html#Override">上書き:</a></th><td>AuthConfig</td></tr> 103<tr><th><a href="directive-dict.html#Status">ステータス:</a></th><td>Base</td></tr> 104<tr><th><a href="directive-dict.html#Module">モジュール:</a></th><td>mod_authz_groupfile</td></tr> 105</table> 106 <p><code class="directive">AuthzGroupFileAuthoritative</code> ディレクティブを 107 明示的に <code>Off</code> に設定すると userID に対応する 108 <strong>グループがない場合に</strong>、 109 (<code>module.c</code> で定義されている) 下位のモジュールにグループ承認を 110 渡すことを許可します。</p> 111 112 113 <p>デフォルトでは制御は渡されず、未知のグループの場合は Authentication 114 Required 応答が返されます。ですから、これを設定しないと 115 システムを安全に保つことができ、NCSA 互換の振る舞いをさせることになります。</p> 116 117 <div class="warning"><h3>セキュリティ</h3> 118 <p>ユーザの <code>.htaccess</code> ファイルで他の承認手段への 119 委譲ができるようにすることの意味するところは十分に考慮しておいてください。 120 そしてそれが、本当に望む挙動であることを確かめてください。 121 通常は一つの <code>.htpasswd</code> ファイルを安全にする方が 122 より多くのアクセスインタフェースを持つかもしれないデータベースを 123 安全にするよりも簡単です。</p> 124 </div> 125 126</div> 127</div> 128<div class="bottomlang"> 129<p><span>翻訳済み言語: </span><a href="/en/mod/mod_authz_groupfile.html" hreflang="en" rel="alternate" title="English"> en </a> | 130<a href="/ja/mod/mod_authz_groupfile.html" title="Japanese"> ja </a> | 131<a href="/ko/mod/mod_authz_groupfile.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> 132</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&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> 133<script type="text/javascript"><!--//--><![CDATA[//><!-- 134var comments_shortname = 'httpd'; 135var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_authz_groupfile.html'; 136(function(w, d) { 137 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 138 d.write('<div id="comments_thread"><\/div>'); 139 var s = d.createElement('script'); 140 s.type = 'text/javascript'; 141 s.async = true; 142 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 143 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 144 } 145 else { 146 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 147 } 148})(window, document); 149//--><!]]></script></div><div id="footer"> 150<p class="apache">Copyright 2013 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p> 151<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[//><!-- 152if (typeof(prettyPrint) !== 'undefined') { 153 prettyPrint(); 154} 155//--><!]]></script> 156</body></html>