Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://www.arcetri.astro.it/manual/ko/mod/mod_authn_file.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013 Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 08:06:54 2014 Êîäèðîâêà: ISO8859-5 Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï |
Apache HTTP Server Version 2.2
ÌÃÈý: | É?ÐêÖÔÐßÐË ÐÜÏû×á Ë÷ÏûÐê ÐÞÑ? |
---|---|
Ë?ÕÒ: | Base |
È?ÅòÈý: | authn_file_module |
ÌâÍÊÖÔÐß: | mod_authn_file.c |
Ñ?Ï?: | ÎÖÖÔÔÅ 2.1 ÐÜØÔ |
ÐÜ È?ÅòÐÊ mod_auth_digest
ÏÝ
mod_auth_basic
ÀÀÐÊ ÐÞÑ?ÎåÄìÈ?ÅòÐË Ð?×è
ÐßÉí É?Ðê ÎßØ?ÖÔÐßÏÅÌ- Ë÷ÏûÐêÈ? Ó?ÎÖÌ- ÐÞÑ?×áÄé.
mod_authn_dbm
À? ÁòÄÙÐÜ ÊåÍÑ×ßÄé.
mod_auth_basic
ÐÜÃ?
mod_auth_digest
È? Ë÷Ïû×âÆ? AuthBasicProvider
Ã?
AuthDigestProvider
Ð×
À?ÐË file
ÇÞ ÌÃÑ?×ßÈù ÐÜ È?ÅòÐË Ë÷Ïû×áÄé.
ÌÃÈý: | ÐÞÑ?×â Ë÷ÏûÐêÈýÏÝ ÎßØ? ÈåÇßÐË Ð?Ðõ×ßÄÒ É?ÐêÖÔÐßÈýÐË Ñ?Ñ?×áÄé |
---|---|
É?É: | AuthUserFile file-path |
Ë÷ÏûÐõÌâ: | directory, .htaccess |
Override ÏÙÌ×: | AuthConfig |
Ë?ÕÒ: | Base |
È?Åò: | mod_authn_file |
AuthUserFile
Ñ?ÍÓÎþÄÒ Ë÷ÏûÐê ÐÞÑ?ÏÅ
Ë÷Ïû×â Ë÷ÏûÐêÈýÏÝ ÎßØ? ÈåÇßÐË Ð?Ðõ×ßÄÒ É?ÐêÖÔÐßÈýÐË Ñ?Ñ?×áÄé.
File-pathÄÒ ÖÔÐßÀöÇÞÐÜÄé. ÐÄûÀöÇÞÈ? Ë÷Ïû×ßÑ?
ÎÚÐÈÈù ServerRoot
Ð×
Ë?ÄûÀöÇÞÇÞ ÓÃÈ?×áÄé.
ÖÔÐßÐ× À? ÑéÏÅÄÒ Ë÷ÏûÐêÈý, ÔíÇà, ÐÞÔêÅ?ÅØ ÎßØ?ÀÅ Ì?Ì-ÄûÇÞ
Ã?ÏÒÄé. Ï?Ç? ÑéÏÅÌ- ÅÏÐß×á Ë÷ÏûÐê ÎÖÐÜÅ?È? Ñ?Ð××ßÈù,
mod_authn_file
ÄÒ ÓÉÉ?ÒÀÇÞ Ã?ÏÐÄÒ ÎßØ?È?
Ë÷Ïû×áÄé.
ÔÔÖÔÐßÅØ ÉøÖ?ÊËÐÜÃ? src/support
ÏÅ ÐæÄÒ htpasswd ÅÅÁÈÄÒ HTTP
Basic AuthenticationÏÅ Ë÷Ïû×â ÎßØ?ÖÔÐßÐË À?È?×áÄé.
ÐêÌÌ×á ÃËÏûÐÊ manpageÈ?
Ò?Àý×ßÆ?. ÏôÎð×ßÈù:
ÓÚÁò ÎÖÐÜÅ? username
ÐË ÀÅÑ? ÎßØ?ÖÔÐß
Filename
ÐË ÈÈÅ÷Äé. ÎßØ?È? ÉÀÎþÊËÄé:
htpasswd -c Filename username
ÎßØ?ÖÔÐß Filename
ÏÅ username2
È?
ÓïÀÅ×ßÀÕÃ? Ì?Ñ?×áÄé:
htpasswd Filename username2
Õ? É?ÐêÖÔÐßÐË ÀÛË?×ßÄÒ ÀÝÐÊ ÈÕÏü ÊåØÏÐÂÐ?ÐãÐË
ÑæÐ××ßÆ?. Ë÷ÏûÐêÀÅ ÈÉÄéÈù ÄûÍÕ AuthDBMUserFile
ÐË Ë÷Ïû×èÎï
×áÄé.
HTTP Digest AuthenticationÐË Ë÷Ïû×áÄéÈù htpasswd ÅÅÁÈÇÞ ÎØÅØÄé. ÄûÍÕ htdigestÈ? Ë÷Ïû×èÎï ×áÄé. Digest AuthenticationÀ? Basic AuthenticationÐË Ð?×á ÐêÇñÈ? ÀÀÐÊ ÖÔÐßÏÅ Ì?ÎþÌ- Ë÷Ïû×â Ì? Î?ÐÍÐË ÑæÐ××ßÆ?.
AuthUserFile
ÐÜ Ð?Ì-É?Ð× É?Ì-Åù
ÉëÏÅ Ð?ÔÅ×äÐË Ø?ÐÞ×ßÆ?. ÐÜ ÖÔÐßÐË ÊÈØ?×â Å?ÇÊÕôÈ? ÎØÏÅ
ÀÀÐÜ ÅÞÑ? ÈÆÆ?. ÁçÇÈÑ? ÎÚÐÈÈù, Õ?Æ?ÐÜÎ?Ö?ÀÅ
AuthUserFile
ÐË ÄéÏþÇÞÅõ×â Ì? ÐæÄé.