1<?xml version="1.0" encoding="EUC-KR"?>
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="ko" xml:lang="ko"><head><!--
4        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5              This file is generated from xml source: DO NOT EDIT
6        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7      -->
8<title>htpasswd - basic authentication�� ����� �����������
9      ���Ѵ� - Apache HTTP Server</title>
10<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
11<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
12<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" />
13<script src="/style/scripts/prettify.min.js" type="text/javascript">
14</script>
15
16<link href="/images/favicon.ico" rel="shortcut icon" /></head>
17<body id="manual-page"><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 Server Version 2.4</p>
20<img alt="" src="/images/feather.gif" /></div>
21<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
22<div id="path">
23<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.4</a> &gt; <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>htpasswd - basic authentication�� ����� �����������
24      ���Ѵ�</h1>
25<div class="toplang">
26<p><span>������ ���: </span><a href="/en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
27<a href="/fr/programs/htpasswd.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
28<a href="/ko/programs/htpasswd.html" title="Korean">&nbsp;ko&nbsp;</a> |
29<a href="/tr/programs/htpasswd.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
30</div>
31<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�.
32            �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div>
33
34    <p><code>htpasswd</code>�� HTTP basic authentication�� �����
35    ����ڸ�� ��ȣ�� �����ϴ� �Ϲ������� ���ϰ� �����Ѵ�.
36    <code>htpasswd</code>�� ������ ���ų� ���� �� ��ٸ�,
37    ������¸� ��ȯ�ϰ� �ƹ��͵� �������� �ʴ´�.</p>
38
39    <p>����ġ �������� �ڿ��� <code>htpasswd</code>�� ���� ���Ͽ�
40    ����� ����ڿ��Ը� ������ �� �ִ�. �� ���α׷��� ����ڸ��
41    ��ȣ�� �����ϴ� �Ϲ� ������ ���Ѵ�. �׷��� �ٸ� �ڷ�����
42    ����� ���� ��ȣ ������ ��ȣȭ�Ͽ� ������ �� �ִ�. DBM
43    �����ͺ��̽��� ����Ϸ��� <a href="dbmmanage.html">dbmmanage</a>�� ����϶�.</p>
44
45    <p><code>htpasswd</code>�� ����ġ Ư���� MD5 Ȥ�� �ý�����
46    <code>crypt()</code>�� ����Ͽ� ��ȣ�� ��ȣȭ�Ѵ�.
47    <code>htpasswd</code>�� ���ϴ� ������ �� ������ ��ȣ��
48    ��� ������ �� �ִ�. ��, ���� ���Ͽ� MD5�� ��ȣȭ�� ��ȣ��
49    ����ϴ� ����ڿ� <code>crypt()</code>�� ��ȣȭ�� ��ȣ��
50    ����ϴ� ����� ���� ��� ���� �� �ִ�.</p>
51
52    <p>�� manpage�� ����� �ɼǸ��� �����Ѵ�. <a href="httpd.html">httpd</a>���� ����������� �����ϴ� ���þ
53    ���� ������ ����ġ �������� ���Ե��ְ� <a href="http://httpd.apache.org">http://httpd.apache.org/</a>������
54    �� �� �ִ� ����ġ ������ ����϶�.</p>
55</div>
56<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#synopsis">����</a></li>
57<li><img alt="" src="/images/down.gif" /> <a href="#options">�ɼ�</a></li>
58<li><img alt="" src="/images/down.gif" /> <a href="#exit">�����ڵ�</a></li>
59<li><img alt="" src="/images/down.gif" /> <a href="#examples">����</a></li>
60<li><img alt="" src="/images/down.gif" /> <a href="#security">���Ȼ� ����� ��</a></li>
61<li><img alt="" src="/images/down.gif" /> <a href="#restrictions">����</a></li>
62</ul><h3>���</h3><ul class="seealso"><li><a href="httpd.html">httpd</a></li><li>���������� SHA1�� �����ϴ� ��ũ��Ʈ�� �ִ�.</li></ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
63<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
64<div class="section">
65<h2><a name="synopsis" id="synopsis">����</a></h2>
66    <p><code><strong>htpasswd</strong>
67    [ -<strong>c</strong> ]
68    [ -<strong>m</strong> ]
69    [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var></code></p>
70
71    <p><code><strong>htpasswd</strong> -<strong>b</strong>
72    [ -<strong>c</strong> ]
73    [ -<strong>m</strong> |
74      -<strong>d</strong> |
75      -<strong>p</strong> |
76      -<strong>s</strong> ] 
77    [ -<strong>D</strong> ]  <var>passwdfile</var> <var>username</var>
78    <var>password</var></code></p>
79
80    <p><code><strong>htpasswd</strong> -<strong>n</strong>
81    [ -<strong>m</strong> |
82      -<strong>d</strong> |
83      -<strong>s</strong> |
84      -<strong>p</strong> ] <var>username</var></code></p>
85
86    <p><code><strong>htpasswd</strong> -<strong>nb</strong>
87    [ -<strong>m</strong> |
88      -<strong>d</strong> |
89      -<strong>s</strong> |
90      -<strong>p</strong> ] <var>username</var> <var>password</var></code></p>
91</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
92<div class="section">
93<h2><a name="options" id="options">�ɼ�</a></h2>
94    <dl>
95    <dt><code>-b</code></dt>
96    <dd>��ġ(batch) ��带 ����Ѵ�. <em>���� ���</em>, ��ȣ��
97    ������ʰ� ����࿡�� �޴´�. ����࿡ <strong>��ȣ��
98    ���� �巯���Ƿ�</strong>, �� �ɼ��� �ſ� �����ؼ� ����ؾ�
99    �Ѵ�.</dd>
100
101    <dt><code>-c</code></dt>
102    <dd><var>passwdfile</var>�� �����. <var>passwdfile</var>��
103    �̹� �����Ѵٸ�, �����. �� �ɼ��� <code>-n</code> �ɼǰ�
104    ���� ����� �� ���.</dd>
105
106    <dt><code>-n</code></dt>
107    <dd>������ ���������ʰ� ��� ǥ��������� ����Ѵ�.
108    ����ġ�� �����̿��� ���� ���� ��ȣ�� �����Ҷ� �����ϴ�.
109    (�׻� ù��° �ƱԸ�Ʈ��) <var>passwdfile</var> �ƱԸ�Ʈ��
110    ��⶧���� ����� ������ �ٸ���. <code>-c</code> �ɼǰ�
111    ���� ����� �� ���.</dd>
112
113    <dt><code>-m</code></dt>
114    <dd>MD5�� ����Ͽ� ��ȣ�� ��ȣȭ�Ѵ�. Windows, Netware,
115    TPF���� �⺻���̴�.</dd>
116
117    <dt><code>-d</code></dt>
118    <dd><code>crypt()</code>�� ����Ͽ� ��ȣ�� ��ȣȭ�Ѵ�.
119    Windows, Netware, TPF�� ������ ��� �÷��� �⺻���̴�.
120    ��� �÷����� <code>htpasswd</code>�� �� ����� ������ ����
121    ������, Windows, Netware, TPF�� <a href="httpd.html">httpd</a>
122    ������ �� ����� �������� �ʴ´�.</dd>
123
124    <dt><code>-s</code></dt>
125    <dd>��ȣ�� SHA ��ȣȭ�Ѵ�. LDAP ���丮��ȯ���(ldif)��
126    ����Ͽ� Netscape ������ ������ �����ų� �����ö� �����ϴ�.</dd>
127
128    <dt><code>-p</code></dt>
129    <dd>��ȣ�� �״�� ����Ѵ�. ��� �÷����� <code>htpasswd</code>��
130    ����������, Windows, Netware, TPF�� <a href="httpd.html">httpd</a>
131    ������ �Ϲ� ��ȣ�� �޴´�.</dd>
132
133    <dt><code>-D</code></dt>
134    <dd>����ڸ� �����Ѵ�. htpasswd ���Ͽ� ����ڸ��� �ִٸ�
135    �����Ѵ�.</dd>
136    
137    <dt><code><var>passwdfile</var></code></dt>
138    <dd>����ڸ�� ��ȣ�� �����ϴ� ���ϸ�. <code>-c</code>��
139    ����� ��� ������ ��ٸ� ���� �����, �ִٸ� �����.</dd>
140
141    <dt><code><var>username</var></code></dt>
142    <dd><var>passwdfile</var>�� ����ų� ������ ����ڸ�.
143    <var>username</var>�� �� ���Ͽ� ��ٸ� �׸��� �߰��Ѵ�.
144    �ִٸ� ��ȣ�� �����Ѵ�.</dd>
145
146    <dt><code><var>password</var></code></dt>
147    <dd>��ȣȭ�Ͽ� ���Ͽ� ������ ��ȣ. ���� <code>-b</code>
148    �ɼǰ� ���� ����� �� �ִ�.</dd>
149    </dl>
150</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
151<div class="section">
152<h2><a name="exit" id="exit">�����ڵ�</a></h2>
153    <p><code>htpasswd</code>�� <var>passwdfile</var>�� ����ڸ��
154    ��ȣ�� ���������� �߰��ϰų� ������ ��� ("��") �����ڵ�
155    0�� ��ȯ�Ѵ�. <code>htpasswd</code>�� ���Ͽ� �����Ҷ� ������
156    �߻��� ��� <code>1</code>��, ����� ����� �߸�� ���
157    <code>2</code>��, �Է��� ��ȣ�� Ȯ���� �ٽ� �Է��� ����
158    ��ġ���� ���� ��� <code>3</code>��, ����� �ߴܵ� ���
159    <code>4</code>��, (����ڸ�, ���ϸ�, ��ȣ, ���� �����)
160    ���� �ʹ� �� ��� <code>5</code>��, ����ڸ� ��������ʴ�
161    ���ڰ� ���Ե� ��� <a href="#restrictions">���� ��</a> ���)
162    <code>6</code>��, ������ �ùٸ� ��ȣ������ �ƴ� ���
163    <code>7</code>�� ��ȯ�Ѵ�.</p>
164</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
165<div class="section">
166<h2><a name="examples" id="examples">����</a></h2>
167    <div class="example"><p><code>
168      htpasswd /usr/local/etc/apache/.htpasswd-users jsmith
169    </code></p></div>
170
171    <p>����� <code>jsmith</code>�� ��ȣ�� �߰��ϰų� �����Ѵ�.
172    ����ڿ��� ��ȣ�� �����. Windows �ý��ۿ��� �����ϸ�
173    ��ȣ�� ����ġ Ư���� MD5 �˰����� ����Ͽ� ��ȣȭ�ϰ�,
174    �ƴϸ� �ý����� <code>crypt()</code> �Լ��� ����Ѵ�. ������
175    ��ٸ� <code>htpasswd</code>�� �ƹ� �ϵ� �����ʰ� ����
176    ����.</p>
177
178    <div class="example"><p><code>
179      htpasswd -c /home/doe/public_html/.htpasswd jane
180    </code></p></div>
181
182    <p>���� ������ ����� �� ���Ͽ� ����� <code>jane</code>��
183    �߰��Ѵ�. ����ڿ��� ��ȣ�� �����. ������ ������ �аų�
184    �� �� ��ٸ�, <code>htpasswd</code>�� ������ ���������ʰ�
185    ������ ������� ������¸� ��ȯ�Ѵ�.</p>
186
187    <div class="example"><p><code>
188      htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve
189    </code></p></div>
190
191    <p>������� ��ȣ(<code>Pwd4Steve</code>)�� MD5 �˰�������
192    ��ȣȭ�Ͽ� ������ ���Ͽ� �����Ѵ�.</p>
193</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
194<div class="section">
195<h2><a name="security" id="security">���Ȼ� ����� ��</a></h2>
196    <p><code>htpasswd</code> ���� ���ϴ� �� ��ȣ������ ��������
197    URI �� ������ <em>�ȵȴ�</em>. ��, ������ �� ������
198    �� �� ���� �Ѵ�.</p>
199
200    <p>����࿡ ��ȣȭ�������� ��ȣ�� ����ϱ⶧���� <code>-b</code>
201    �ɼ��� ��õ���� �ʴ´�.</p>
202</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
203<div class="section">
204<h2><a name="restrictions" id="restrictions">����</a></h2>
205    <p>Windows�� MPE �÷����� <code>htpasswd</code>�� ��ȣȭ�ϴ�
206    ��ȣ�� ���̸� <code>255</code> ���ڷ� �����Ѵ�. �� �� ��ȣ��
207    255�ڿ��� ©����.</p>
208
209    <p><code>htpasswd</code>�� ����ϴ� MD5 �˰����� ����ġ
210    ����Ʈ���� Ư���� ���̴�. �̸� ����Ͽ� ��ȣȭ�� ��ȣ��
211    �ٸ� ���������� ����� �� ���.</p>
212
213    <p>����ڸ��� <code>255</code> ����Ʈ�� ���ѵǰ� <code>:</code>
214    ���ڸ� ������ �� ���.</p>
215</div></div>
216<div class="bottomlang">
217<p><span>������ ���: </span><a href="/en/programs/htpasswd.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
218<a href="/fr/programs/htpasswd.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
219<a href="/ko/programs/htpasswd.html" title="Korean">&nbsp;ko&nbsp;</a> |
220<a href="/tr/programs/htpasswd.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
221</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">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;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>
222<script type="text/javascript"><!--//--><![CDATA[//><!--
223var comments_shortname = 'httpd';
224var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/htpasswd.html';
225(function(w, d) {
226    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
227        d.write('<div id="comments_thread"><\/div>');
228        var s = d.createElement('script');
229        s.type = 'text/javascript';
230        s.async = true;
231        s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
232        (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
233    }
234    else { 
235        d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
236    }
237})(window, document);
238//--><!]]></script></div><div id="footer">
239<p class="apache">Copyright 2014 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>
240<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[//><!--
241if (typeof(prettyPrint) !== 'undefined') {
242    prettyPrint();
243}
244//--><!]]></script>
245</body></html>