summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_authz_owner.xml.ko
blob: 124f96913e5c6079de22941a20d06dd74e34820d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
<!-- English Revision: 151408:1334008 (outdated) -->

<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You under the Apache License, Version 2.0
 (the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<modulesynopsis metafile="mod_authz_owner.xml.meta">

<name>mod_authz_owner</name> 
<description>ÆÄÀÏ ¼ÒÀ¯ÀÚ¸¦ ÀÌ¿ëÇÑ ±ÇÇѺο©</description>
<status>Extension</status>
<sourcefile>mod_authz_owner.c</sourcefile>
<identifier>authz_owner_module</identifier>
<compatibility>¾ÆÆÄÄ¡ 2.1 ÀÌÈĺÎÅÍ</compatibility>

<summary>
    <p>ÀÌ ¸ðµâÀº HTTP ÀÎÁõ¿¡ »ç¿ëÇÑ »ç¿ëÀÚ ¾ÆÀ̵ð(À¥ »ç¿ëÀÚ
    ¾ÆÀ̵ð)¸¦ ¿äûÇÑ ÆÄÀÏÀÇ ÆÄÀϽýºÅÛ ¼ÒÀ¯ÀÚ/±×·ì°ú ºñ±³ÇÏ¿©
    ÆÄÀÏÀÇ Á¢±Ù±ÇÇÑÀ» ºÎ¿©ÇÑ´Ù. ¿©±â¼­ »ç¿ëÀÚ¸í°ú ¾ÏÈ£´Â À̹Ì
    <module>mod_auth_basic</module>À̳ª
    <module>mod_auth_digest</module> °°Àº ÀÎÁõ¸ðµâÀÇ È®ÀÎÀ»
    °ÅÃÆ´Ù. <module>mod_authz_owner</module>´Â <directive
    module="core">Require</directive> Áö½Ã¾îÀÇ ´ÙÀ½ µÎ ¾Æ±Ô¸ÕÆ®,
    <code>file-owner</code>¿Í <code>file-group</code>À» ó¸®ÇÑ´Ù:</p>

    <dl>
      <dt><code>file-owner</code></dt>
      <dd>À¥ »ç¿ëÀÚ¸íÀÌ ¿äûÇÑ ÆÄÀÏ ¼ÒÀ¯ÀÚÀÇ ½Ã½ºÅÛ À̸§°ú °°¾Æ¾ß
      ÇÑ´Ù. Áï, ¿î¿µÃ¼Á¦°¡ ¿äûÇÑ ÆÄÀÏÀÇ ¼ÒÀ¯ÀÚ°¡
      <code>jones</code>¶ó¸é, À¥À» ÅëÇØ ÆÄÀÏ¿¡ Á¢±ÙÇÏ´Â »ç¿ëÀÚµµ
      ¸¶Âù°¡Áö·Î <code>jones</code>À̾î¾ß ÇÑ´Ù.</dd>

      <dt><code>file-group</code></dt>
      <dd>ÆÄÀÏÀ» ¼ÒÀ¯ÇÑ ½Ã½ºÅÛ ±×·ì¸íÀÌ
      <module>mod_authz_groupfile</module>À̳ª
      <module>mod_authz_dbm</module>°ú °°Àº ±×·ì µ¥ÀÌÅͺ£À̽º¿¡
      ÀÖ°í, À¥ »ç¿ëÀÚ¸íÀÌ ÇØ´ç ±×·ì¿¡ ¼ÓÇØ¾ß ÇÑ´Ù. ¿¹¸¦ µé¾î,
      ¿î¿µÃ¼Á¦°¡ ¿äûÇÑ ÆÄÀÏÀ» <code>accounts</code> (½Ã½ºÅÛ)
      ±×·ìÀÌ ¼ÒÀ¯ÇÏ°í ÀÖ´Ù¸é, ±×·ì µ¥ÀÌÅͺ£À̽º¿¡
      <code>accounts</code>¶ó´Â ±×·ìÀÌ ÀÖ°í ¿äû¿¡ »ç¿ëÇÑ À¥
      »ç¿ëÀÚ¸íÀÌ ±× ±×·ì¿¡ ¼ÓÇØ¾ß ÇÑ´Ù.</dd>
    </dl>

    <note><title>ÁÖÀÇ</title>
      <p><module>mod_authz_owner</module>°¡ ½ÇÁ¦·Î ÆÄÀϽýºÅÛ¿¡
      ÀÖÁö ¾Ê´Â ÀÚ¿øÀ» (<em>Áï,</em> °¡»ó ÀÚ¿ø) ±ÇÇѺο©ÇÑ´Ù¸é,
      Á¢±ÙÀ» °ÅºÎÇÑ´Ù.</p>

      <p>ƯÈ÷ <a
      href="../content-negotiation.html#multiviews">³»¿ëÇù»óÇÑ
      "MultiViews"</a> ÀÚ¿øÀ» ±ÇÇѺο©ÇÏÁö ¾Ê´Â´Ù.</p>
    </note>
</summary>
<seealso><directive module="core">Require</directive></seealso>
<seealso><directive module="core">Satisfy</directive></seealso>

<section id="examples"><title>¼³Á¤ ¿¹Á¦</title>

    <section id="examples.file-owner"><title>Require file-owner</title>
      <p>¾ÆÆÄÄ¡ À¥¼­¹ö¸¦ ¿î¿µÇÏ´Â ´ÙÁß»ç¿ëÀÚ ½Ã½ºÅÛ¿¡¼­ °¢ »ç¿ëÀÚ°¡
      <code>~/public_html/private</code>¿¡ ÀÚ½ÅÀÇ ÆÄÀÏÀ» ÀúÀåÇÑ´Ù°í
      °¡Á¤ÇÏÀÚ. ¸ðµç À¥ »ç¿ëÀÚ¸íÀ» ÀúÀåÇÏ´Â <directive
      module="mod_authn_dbm">AuthDBMUserFile</directive>
      µ¥ÀÌÅͺ£À̽º°¡ ÀÖ°í, ¿©±â¿¡ ÀúÀåµÈ »ç¿ëÀÚ¸íÀº ¼­¹ö¿¡¼­
      ½ÇÁ¦ ÆÄÀÏÀ» ¼ÒÀ¯ÇÏ´Â ½Ã½ºÅÛ »ç¿ëÀÚ¸í°ú µ¿ÀÏÇÏ´Ù. ÀÌ °æ¿ì
      ¾Æ·¡ ¼³Á¤Àº ÆÄÀÏ ¼ÒÀ¯ÀÚ¿¡°Ô¸¸ Á¢±ÙÀ» Çã¿ëÇÑ´Ù. »ç¿ëÀÚ
      <code>jones</code>´Â ÆÄÀÏÀ» <code>jones</code>°¡ ¾Æ´Ñ
      <code>smith</code>°¡ ¼ÒÀ¯ÇÏ°í ÀÖ´Â ÇÑ
      <code>/home/smith/public_html/private</code>¿¡ ÀÖ´Â ÆÄÀÏ¿¡
      Á¢±ÙÇÒ ¼ö ¾ø´Ù.</p>

      <example>
        &lt;Directory /home/*/public_html/private&gt;<br />
        <indent>
          AuthType Basic<br />
          AuthName MyPrivateFiles<br />
          AuthBasicProvider dbm<br />
          AuthDBMUserFile /usr/local/apache2/etc/.htdbm-all<br />
          Satisfy All<br />
          Require file-owner<br />
        </indent>
        &lt;/Directory&gt;
      </example>
    </section>

    <section id="examples.file-group"><title>Require file-group</title>
      <p>À§¿Í »óȲÀÌ ºñ½ÁÇÏÁö¸¸ ¿©·¯¸íÀÌ
      <code>~/public_html/project-foo</code>¿¡ ÇÁ·ÎÁ§Æ® ÆÄÀÏÀ»
      °øÀ¯ÇÑ´Ù°í °¡Á¤ÇÏÀÚ. ÆÄÀϵéÀº ½Ã½ºÅÛ ±×·ì <code>foo</code>°¡
      ¼ÒÀ¯Çϸç, ¸ðµç À¥ »ç¿ëÀÚ¸í°ú »ç¿ëÀÚ ±×·ìÀ» ±â·ÏÇÏ´Â <directive
      module="mod_authz_dbm">AuthDBMGroupFile</directive>
      µ¥ÀÌÅͺ£À̽º°¡ ÀÖ´Ù. <em>Áï,</em> ÃÖ¼ÒÇÑ <code>foo</code>¶ó´Â
      ±×·ì¿¡ ±¸¼º¿øÀÌ ÀÖ´Ù. <code>jones</code>¿Í
      <code>smith</code>°¡ ¸ðµÎ ±×·ì <code>foo</code>ÀÇ
      ±¸¼º¿øÀ̶ó¸é, µÑ ¸ðµÎ <code>project-foo</code> µð·ºÅ丮¿¡
      Á¢±ÙÇÒ ¼ö ÀÖ´Ù.</p>

      <example>
        &lt;Directory /home/*/public_html/project-foo&gt;<br />
        <indent>
          AuthType Basic<br />
          AuthName "Project Foo Files"<br />
          AuthBasicProvider dbm<br />
          <br />
          # combined user/group database<br />
          AuthDBMUserFile  /usr/local/apache2/etc/.htdbm-all<br />
          AuthDBMGroupFile /usr/local/apache2/etc/.htdbm-all<br />
          <br />
          Satisfy All<br />
          Require file-group<br />
        </indent>
        &lt;/Directory&gt;
      </example>
    </section>
</section>

<directivesynopsis>
<name>AuthzOwnerAuthoritative</name>
<description>±ÇÇѺο©¸¦ Àú¼öÁØ ¸ðµâ·Î ³Ñ°ÜÁÙÁö ¿©ºÎ</description>
<syntax>AuthzOwnerAuthoritative On|Off</syntax>
<default>AuthzOwnerAuthoritative On</default>
<contextlist><context>directory</context><context>.htaccess</context>
</contextlist>
<override>AuthConfig</override>

<usage>
    <p><directive>AuthzOwnerAuthoritative</directive> Áö½Ã¾î¸¦
    Á÷Á¢ <code>Off</code>·Î ¼³Á¤ÇÏ¸é ´ÙÀ½°ú °°Àº °æ¿ì »ç¿ëÀÚ
    ±ÇÇѺο©¸¦ (<code>modules.c</code> ÆÄÀÏ¿¡¼­ Á¤ÀÇÇÑ) Àú¼öÁØ
    ¸ðµâ·Î ³Ñ°ÜÁØ´Ù.</p>

    <ul>
    <li><code>file-owner</code>¸¦ »ç¿ëÇϸé ÆÄÀϽýºÅÛ ¼ÒÀ¯ÀÚ¸¦
    ¾Ë ¼ö ¾ø°Å³ª ÁÖ¾îÁø À¥ »ç¿ëÀÚ¸í°ú ´Ù¸¥ °æ¿ì</li>

    <li><code>file-group</code>À» »ç¿ëÇϸé ÆÄÀϽýºÅÛ ±×·ìÀ»
    ¾Ë ¼ö ¾ø°Å³ª ÁÖ¾îÁø À¥ »ç¿ëÀÚ¸íÀÌ ±¸¼º¿øÀÌ ¾Æ´Ñ °æ¿ì.</li>
    </ul>

    <p>¶Ç, °ªÀ» <code>Off</code>·Î ¼³Á¤Çϸé
    <code>file-owner</code>¿Í <code>file-group</code>À» °áÇÕÇÏ¿©,
    µÑ Áß Çϳª¸¸ ¸¸Á·Çصµ Á¢±ÙÀ» Çã°¡ÇÑ´Ù.</p>

    <p>±âº»ÀûÀ¸·Î Á¦¾î¸¦ ³Ñ±âÁö¾Ê°í, ¸ð¸£´Â ±×·ìÀÇ °æ¿ì ÀÎÁõ
    ÇÊ¿ä ÀÀ´äÀ» ÇÑ´Ù. ÀÌ Áö½Ã¾î¸¦ <code>Off</code>·Î ¼³Á¤ÇÏÁö¾ÊÀ¸¸é
    ½Ã½ºÅÛÀÌ ¾ÈÀüÇÏ°Ô À¯ÁöµÇ¸ç, NCSA À¥¼­¹ö¿Í °°ÀÌ µ¿ÀÛÇÑ´Ù.</p>
</usage>
</directivesynopsis>

</modulesynopsis>