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