CGI :: Builder :: Auth :: Realm.HTTPD º¸¾È ¿µ¿ªÀÇ µ¥ÀÌÅͺ£À̽º. | |
Áö±Ý ´Ù¿î·Îµå |
CGI :: Builder :: Auth :: Realm. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- Perl Artistic License
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Lincoln Stein
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~lds/Crypt-CBC-2.29/CBC.pm
CGI :: Builder :: Auth :: Realm. ű×
CGI :: Builder :: Auth :: Realm. ¼³¸í
HTTPD º¸¾È ¿µ¿ªÀÇ µ¥ÀÌÅͺ£À̽º. CGI :: Builder :: Auth :: RealmÀº HTTPD Security Realms.SynopsisÀÇ µ¥ÀÌÅͺ£À̽º¸¦ Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. CGI :: Builder :: Auth :: Realm; # "¸â¹ö"¿µ¿ªÀÇ Á¤ÀǸ¦ °¡Á®¿É´Ï´Ù. $ realms = »õ CGI :: Builder :: Auth :: Realm (-config_file => / home / httpd / conf / realms.conf '); $ def = $ REALMS-> ¿µ¿ª (-realm => '¸â¹ö'); # realm Àμâ "realm name =", $ def-> name "¿¡ ´ëÇÑ Á¤º¸ Ç¥½Ã "; Àμâ"»ç¿ëÀÚ µ¥ÀÌÅͺ£À̽º = ", $ def-> userdb" "; Àμâ"±×·ì µ¥ÀÌÅͺ£À̽º = ", $ def-> groupdb" "; Àμâ"»ç¿ëÀÚ À¯Çü = ", $ def-> usertype" "Àμâ"±×·ì À¯Çü = ", $ def-> grouptype" "; Àμâ"À¥ ¼¹ö À¯Çü = ", $ def-> ¼¹ö" "; Àμâ"¾ÏÈ£ = ", $ def-> crypt" "Àμâ"´Ù¸¥ Çʵå = ", $ def-> Çʵå" "# realm¿¡ ´ëÇÑ µ¥ÀÌÅͺ£À̽º¿¡ ¿¬°áÇÕ´Ï´Ù. # CGI :: Builder :: Auth :: RealmManager °³Ã¼¸¦ ¹ÝȯÇÕ´Ï´Ù. $ database = $ def-> connect (-writable => 1); Ä¿Æ°!ÀÌ ¸ðµâÀº ¿ø·¡ CPAN¿¡¼ »ç¿ëÇÒ ¼öÀÖ´Â httpd-user-manage Ä÷º¼ÇÀÇ ÀϺÎÀÔ´Ï´Ù.À̸¦ »ç¿ëÇÏ·Á¸é ÆÐÅ°Áö¸¦ ´Ù¿î·ÎµåÇϽʽÿÀ.ÀÌ ¸ðµâÀº ±× ÆÐÅ°Áö·Î À̵¿ÇÕ´Ï´Ù.ÀÌ ¸ðµâÀº CGI :: Builder :: AuthÀÇ ³»ºÎ ±¸ÇöÀºÀÌ ¸±¸®½º ¿¡¼ÀÌ ¿ª»çÀû ¸ñÀûÀ¸·Î º¸Á¸µÇ¾î ÀÖ½À´Ï´Ù. ¼ÒÇÁÆ®¿þ¾î´Â ÇØÅ·µÇ¾î ÀÖÀ¸¸çÀÌ ¹®¼´Â ¿Ã¹Ù¸¥ °ÍÀ¸·Î º¸ÀåµÇÁö ¾Ê½À´Ï´Ù. CGI :: Builder¿¡¼ ¸ðµâÀÌ »ç¶óÁú ¼ö ÀÖ½À´Ï´Ù. : ÇâÈÄ ¸±¸®½ºÀÇ ÀÎÁõ ¹èÆ÷. Á÷Á¢ »ç¿ëÇÏÁö ¾Ê°Å³ª it.cgi :: Builder :: Auth :: RealmÀº Apache, Netscape ¹× NCSA À¥ ¼¹ö¿Í ÇÔ²² »ç¿ëÇϵµ·Ï ÇÏÀÌ ·¹º§ º¸¾È ¿µ¿ªÀ» Á¤ÀÇÇÕ´Ï´Ù. ´ç½ÅÀº Áß¾Ó ±¸¼º ÆÄÀÏÀÇ ¿µ¿ªÀÌ ÀÖÀ¸¸çÀÌ ¸ðµâ°ú CGI :: BuilÀ» ÅëÇØ ±âº» µ¥ÀÌÅͺ£À̽º¿¡ ¾×¼¼½ºÇÕ´Ï´Ù. DER :: AUTH :: RealMManager ¶óÀ̺귯¸®. À̸¦ ÅëÇØ ÀÚµ¿È µÈ µµ±¸´Â ±âº» µ¥ÀÌÅͺ£À̽º ±¸Çö¿¡ °ü°è¾øÀÌ »ç¿ëÀÚ ¾ÏÈ£, ±×·ì ¹× ±âŸ Á¤º¸¸¦ º¯°æÇÒ ¼ö ÀÖ½À´Ï´Ù.ÀÌ ¸ðµâÀ» »ç¿ëÇÏ¿© UNIX ¾ÏÈ£ ¶Ç´Â ±×·ì ÆÄÀÏÀ» Á¶Á¤ÇÏÁö ¸¶½Ê½Ã¿À. À¥ ¾×¼¼½º µ¥ÀÌÅͺ£À̽º¿Í µ¿ÀÏÇÑ Çü½ÄÀÌ ¾ø½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
CGI :: Builder :: Auth :: Realm. °ü·Ã ¼ÒÇÁÆ®¿þ¾î
crypt :: random :: source :: ¾àÇÑ :: OpenSSL.
OpenSSL ¸í·É ÁÙ À¯Æ¿¸®Æ¼¿¡¼ ÀÓÀÇÀÇ ¹ÙÀÌÆ®¸¦ °¡Á®¿É´Ï´Ù. ...
185