Apache HTTP サーバ バージョン 2.4 (original) (raw)
Apache モジュール mod_authz_groupfile
この日本語訳はすでに古くなっている 可能性があります。 最近更新された内容を見るには英語版をご覧下さい。
説明: | プレーンテキストファイルを用いたグループ承認 |
---|---|
ステータス: | Base |
モジュール識別子: | authz_groupfile_module |
ソースファイル: | mod_authz_groupfile.c |
互換性: | Apache 2.1 以降 |
概要
このモジュールは認証されたユーザがグループのメンバーか 否かによってウェブサイトの一部へのアクセスを許可するか拒否するかの 承認機能を提供します。同様の機能は [mod_authz_dbm](../mod/mod%5Fauthz%5Fdbm.html)
によっても提供されています。
AuthGroupFile ディレクティブ
説明: | 証認に使用するユーザグループの一覧が格納されている、 テキストファイルの名前を設定する |
---|---|
構文: | AuthGroupFile file-path |
コンテキスト: | ディレクトリ, .htaccess |
上書き: | AuthConfig |
ステータス: | Base |
モジュール: | mod_authz_groupfile |
AuthGroupFile
ディレクティブは、 証認に使用するユーザグループの一覧が格納されている、 テキストファイルの名前を設定します。file-path はグループファイルへのパスです。 絶対パスでなければ、[ServerRoot](../mod/core.html#serverroot)
からの相対パスとして扱われます。
グループファイル各行は、グループ名、コロン、そして スペース区切りでそのメンバーのユーザ名を記述します。
大きなファイルを探索するのは、_非常に_効率が悪いという点に 注意してください。そのような場合は、[AuthDBMGroupFile](../mod/mod%5Fauthz%5Fdbm.html#authdbmgroupfile)
の方がずっと良い性能を発揮します。
セキュリティ
AuthGroupFile
は、 ウェブサーバのドキュメントツリーの外側に 保管するようにしてください。 保護しようとしているディレクトリ以下には、_置かないで下さい_。 そうしないとクライアントが AuthGroupFile
を ダウンロードできてしまう可能性があります。
コメント
Notice:
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 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 Libera.chat, or sent to our mailing lists.