httpauth. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://lophus.org
httpauth. ű×
httpauth. ¼³¸í
HttpAuth´Â HTTP ´ÙÀÌÁ¦½ºÆ® ÀÎÁõÀ» »ç¿ëÇÏ¿© ÀϺΠ/ ¸ðµç °æ·Î¸¦ º¸È£ÇÏ´Â WSGI ¹Ìµé¿þ¾îÀÔ´Ï´Ù. ÀÚ°Ý Áõ¸íÀ» »ç¿ëÇÏ¿© httpAuthusing DictionalSeCured_WSGI_APP = httpauth.dicthttpauthmiddleware ({ 'user1': 'password1', 'user2': 'password2'}, wsgi_app = sencex_wsgi_app = sencex_wsgi_app = realm = 'Secured Content', # ¿É¼Ç) .htdigest ÆÄÀÏÀ» »ç¿ëÇÏ¿© »ç¿ëÇϽʽÿÀ. surec_wsgi_app = httpauth.digestfilehttpauthmiddleware (¿±â ( '/ path / to / your / .htdigest'), wsgi_app = sunsecured_wsgi_app,). htdigest ÆÄÀÏÀ» htdigest·Î ¸¸µé ¼ö ÀÖ½À´Ï´Ù. Apache Tool.Securion ÁÖ¾îÁø ÀϺΠURLSIF¸¸ÀÌ ¶ó¿ìÅÍ ¸Å°³ º¯¼ö (Á¤±Ô Ç¥Çö½Ä ¸ñ·Ï)¸¦ º¸È£ ÇÒ URLÀ» ÁöÁ¤ÇÕ´Ï´Ù. (±âº»ÀûÀ¸·Î ¸ðµç URLÀÌ º¸¾ÈµË´Ï´Ù.) secured_wsgi_app = httpauth.dicthttpauthmiddleware ({ '»ç¿ëÀÚ': '¾ÏÈ£'}, WSGI_APP = sencured_wsgi_app, routees = ,) Á¦Ç°ÀÇ È¨ÆäÀÌÁö
httpauth. °ü·Ã ¼ÒÇÁÆ®¿þ¾î