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