CGI :: AUTH :: Basic.

±âº» CGI ÀÎÁõ ÀÎÅÍÆäÀ̽º.
Áö±Ý ´Ù¿î·Îµå

CGI :: AUTH :: Basic. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Burak G
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~burak/Text-Template-Simple-0.50/lib/Text/Template/Simple.pm

CGI :: AUTH :: Basic. ű×


CGI :: AUTH :: Basic. ¼³¸í

±âº» CGI ÀÎÁõ ÀÎÅÍÆäÀ̽º. CGI :: AUTH :: BASICÀº PERL.SNOPSISÀÇ ±âº» CGI ÀÎÁõ ÀÎÅÍÆäÀ̽º CGI :: AUTH :: Basic; $ auth = cgi :: auth :: basic -> new (cgi_object => $ cgi, password => 'j2dmer4ggqfza'); $ auth = cgi :: auth :: basic -> new (cgi_object => $ cgi, file => path / to / password / file.txt "); $ auth = cgi :: auth :: basic-> new (cgi_object => autoload_cgi ', password =>'j2dmer4ggqfza ', cookie_id =>'passcookie ', cookie_timeout =>'1h ', http_charset =>'ISO-8859- 9 ', logoff_param =>'·Î±× ¾Æ¿ô '); if ($ ´©±º°¡ _wants_to_enter_my_secret_area) {$ auth-> check_user; } ¶Ç´Â ±×³É ¸»ÇÒ ¼ö ÀÖ½À´Ï´Ù. CGI :: AUTH :: BASIC-> NEW (CGI_OBJECT => CGI-> »õ·Î ¸¸µé±â => "./ pass.txt") -> check_user; # J2DMER4GGQFZA == BLAHTHIS ¸ðµâÀº ÇÁ·Î±×·¥ »ó´Ü¿¡ »ç¿ëÀÚ À¯È¿¼º °Ë»ç ½Ã½ºÅÛÀ» »ç¿ëÀÚ À¯È¿¼º °Ë»ç ½Ã½ºÅÛÀ» °£´ÜÇÏ°Ô Ãß°¡ÇÕ´Ï´Ù (Á¶±Ý º¹Àâ ÇÒ ¼ö ÀÖ½À´Ï´Ù). ¾ÏÈ£ º¸È£ ¶Ç´Â ¹Ì¿Ï¼º µÈ °ü¸®ÀÚ ¼½¼ÇÀÌ ÇÊ¿äÇÑ ±âº» À¯Æ¿¸®Æ¼°¡ ÀÖ°íÀÌ ¿µ¿ªÀ» º¸È£Çϱâ À§ÇØ ¼ö¹é ÁÙÀÇ Äڵ带 ÀÛ¼ºÇÏ´Â µ¥ ½Ã°£À» ³¶ºñÇÏ°í ½ÍÁö ¾ÊÀº °æ¿ì; ÀÌ ¸ðµâÀº À¯¿ë ÇÒ ¼ö ÀÖ½À´Ï´Ù .ModuleÀÇ ÀÎÅÍÆäÀ̽º´Â ½ÇÁ¦·Î °£´ÜÇÏ°í ¾ÏÈ£ ¿µ¿ª ¸¸ °¡Áú ¼ö ÀÖ½À´Ï´Ù. »ç¿ëÀÚ À̸§ ¾øÀ½, ´Ù¸¥ ÇÁ·ÎÇÊ ¿µ¿ªÀÌ ¾ø½À´Ï´Ù. ÀÌ°ÍÀº ȸ¿ø ½Ã½ºÅÛÀÌ ¾Æ´Õ´Ï´Ù (¶Ç´Â ¿ì¸®´Â ±×·¸°Ô ¸»ÇÒ ¼ö ÀÖ½À´Ï´Ù; ÀÌ°ÍÀº ±âº», ´ÜÀÏ È¸¿ø ½Ã½ºÅÛÀ̰ųª ÀÛ¾÷À» ¼öÇàÇÏ´Â ºü¸¥ ÇØÅ·À̶ó°í ºÎ¸¨´Ï´Ù). ´õ Å« ÀÀ¿ë ÇÁ·Î±×·¥À» À§ÇØ ¼³°èµÇÁö ¾Ê¾Ò½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


CGI :: AUTH :: Basic. °ü·Ã ¼ÒÇÁÆ®¿þ¾î