Password ·Î º¸È£µÈ directory ¸¸µå´Â¹ý.

  • Telnet À¸·Î login ÇÕ´Ï´Ù.
    Password ¸¦ »ç¿ëÇÒ µð·ºÅ丮¿¡¼­ ÆíÁý±â·Î ".htaccess" ÆÄÀÏÀ»
    ¾Æ·¡¿Í °°ÀÌ »ý¼º ÇÕ´Ï´Ù.

    AuthUserFile /home/°í°´À¯Àú¸í/.htpasswd
    AuthGroupFile /dev/null
    AuthName ByPassword
    AuthType Basic
    <Limit GET POST>
    require user aaa
    "¿©±â¿¡ user¸¦ Ãß°¡ÇÕ´Ï´Ù"
    "¿¹) require user bbb"
    </Limit>

    »ý¼ºÈÄ¿¡ /usr/home/°í°´À¯Àú¸í/ µð·ºÅ丮¿¡¼­ ¾Æ·¡ ¸í·ÉÀ» ½ÇÇà
    ÇÕ´Ï´Ù.

    htpasswd -c .htpasswd aaa

    Password ÇÁ·ÒÇÁÆ®°¡ ³ªÅ¸³ª¸é Password ¸¦ ÀÔ·Â ÇÕ´Ï´Ù.

    ÀÌ·¸°Ô ÇϽøé aaa À¯Àú°¡ ÀÔ·ÂµÈ password·Î ÇØ´ç µð·ºÅ丮¸¦
    access ÇÒ¼ö ÀÖ½À´Ï´Ù.
    ¿øÇϽô user ¿Í password ¸¦ À§¿Í°°Àº ¹æ½ÄÀ¸·Î Ãß°¡ÇÏ¸é µË´Ï´Ù.
    ½ÇÁ¦·Î À¥ºê¶ó¿ìÀú·Î ÇØ´ç µð·ºÅ丮¸¦ access Çغ¸¸é user ¸í°ú
    password ¸¦ ¹¯´Â dialog box °¡ ³ªÅ¸³³´Ï´Ù.


[back]