PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` htpasswd - basic authentication Ѵ - Apache HTTP Server Version 2.4
<-
Apache > HTTP Server > Documentation > Version 2.4 > Programs

htpasswd - basic authentication Ѵ

ֽ ƴմϴ. ֱٿ ϼ.

htpasswd HTTP basic authentication ڸ ȣ ϴ Ϲ ϰ Ѵ. htpasswd ų ٸ, ¸ ȯϰ ƹ͵ ʴ´.

ġ ڿ htpasswd Ͽ ڿԸ ִ. α׷ ڸ ȣ ϴ Ϲ Ѵ. ׷ ٸ ڷ ȣ ȣȭϿ ִ. DBM ͺ̽ Ϸ dbmmanage ϶.

htpasswd ġ Ư MD5 Ȥ ý crypt() Ͽ ȣ ȣȭѴ. htpasswd ϴ ȣ ִ. , Ͽ MD5 ȣȭ ȣ ϴ ڿ crypt() ȣȭ ȣ ϴ ִ.

manpage ɼǸ Ѵ. httpd ϴ þ ġ Եְ http://httpd.apache.org/ ִ ġ ϶.

Support Apache!

top

htpasswd [ -c ] [ -m ] [ -D ] passwdfile username

htpasswd -b [ -c ] [ -m | -d | -p | -s ] [ -D ] passwdfile username password

htpasswd -n [ -m | -d | -s | -p ] username

htpasswd -nb [ -m | -d | -s | -p ] username password

top

ɼ

-b
ġ(batch) 带 Ѵ. , ȣ ʰ ࿡ ޴´. ࿡ ȣ 巯Ƿ, ɼ ſ ؼ ؾ Ѵ.
-c
passwdfile . passwdfile ̹ Ѵٸ, . ɼ -n ɼǰ .
-n
ʰ ǥ Ѵ. ġ ̿ ȣ Ҷ ϴ. (׻ ù° ƱԸƮ) passwdfile ƱԸƮ ⶧ ٸ. -c ɼǰ .
-m
MD5 Ͽ ȣ ȣȭѴ. Windows, Netware, TPF ⺻̴.
-d
crypt() Ͽ ȣ ȣȭѴ. Windows, Netware, TPF ÷ ⺻̴. ÷ htpasswd , Windows, Netware, TPF httpd ʴ´.
-s
ȣ SHA ȣȭѴ. LDAP 丮ȯ(ldif) Ͽ Netscape ų ö ϴ.
-p
ȣ ״ Ѵ. ÷ htpasswd , Windows, Netware, TPF httpd Ϲ ȣ ޴´.
-D
ڸ Ѵ. htpasswd Ͽ ڸ ִٸ Ѵ.
passwdfile
ڸ ȣ ϴ ϸ. -c ٸ , ִٸ .
username
passwdfile ų ڸ. username Ͽ ٸ ׸ ߰Ѵ. ִٸ ȣ Ѵ.
password
ȣȭϿ Ͽ ȣ. -b ɼǰ ִ.
top

ڵ

htpasswd passwdfile ڸ ȣ ߰ϰų ("") ڵ 0 ȯѴ. htpasswd Ͽ Ҷ ߻ 1, ߸ 2, Է ȣ Ȯ ٽ Է ġ 3, ߴܵ 4, (ڸ, ϸ, ȣ, ) ʹ 5, ڸ ʴ ڰ Ե ) 6, ùٸ ȣ ƴ 7 ȯѴ.

top

htpasswd /usr/local/etc/apache/.htpasswd-users jsmith

jsmith ȣ ߰ϰų Ѵ. ڿ ȣ . Windows ýۿ ϸ ȣ ġ Ư MD5 ˰ Ͽ ȣȭϰ, ƴϸ ý crypt() Լ Ѵ. ٸ htpasswd ƹ ϵ ʰ .

htpasswd -c /home/doe/public_html/.htpasswd jane

Ͽ jane ߰Ѵ. ڿ ȣ . аų ٸ, htpasswd ʰ ¸ ȯѴ.

htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve

ȣ(Pwd4Steve) MD5 ˰ ȣȭϿ Ͽ Ѵ.

top

Ȼ

htpasswd ϴ ȣ URI ȵȴ. , Ѵ.

࿡ ȣȭ ȣ ϱ⶧ -b ɼ õ ʴ´.

top

Windows MPE ÷ htpasswd ȣȭϴ ȣ ̸ 255 ڷ Ѵ. ȣ 255ڿ ©.

htpasswd ϴ MD5 ˰ ġ Ʈ Ư ̴. ̸ Ͽ ȣȭ ȣ ٸ .

ڸ 255 Ʈ ѵǰ : ڸ .

:  en  |  fr  |  ko  |  tr 

top

Comments

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.