<-
Apache > HTTP Server > Documentation > Version 2.2 > ���

Please note

This document refers to the 2.2 version of Apache httpd, which is no longer maintained. The active release is documented here. If you have not already upgraded, please follow this link for more information.

You may follow this link to go to the current version of this document.

����ġ ��� mod_auth_basic

������ ���:  en  |  fr  |  ja  |  ko 

�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.
����:Basic authentication
����:Base
����:auth_basic_module
�ҽ�����:mod_auth_basic.c
����:����ġ 2.1 ���ĺ���

���

�� ����� �ش� ������(provider)�� ����Ͽ� ����ں��� ������ �����ϴ� HTTP Basic Authentication�� �����Ѵ�. HTTP Digest Authentication�� mod_auth_digest�� �����Ѵ�.

���þ��

����

top

AuthBasicAuthoritative ���þ�

����:������ ���Ѻο��� ������ ��⿡ �Ѱ����� �����Ѵ�
����:AuthBasicAuthoritative On|Off
�⺻��:AuthBasicAuthoritative On
������:directory, .htaccess
Override �ɼ�:AuthConfig
����:Base
���:mod_auth_basic

AuthBasicAuthoritative ���þ Off�� �����ϸ� �־��� ����� ���̵� �ش��ϴ� ����� ���̵��� ��Ģ�� ã�� �� ���� ��� ������ ���Ѻο� ��θ� (modules.c ���Ͽ��� ������) ������ ���� �Ѱ��ش�. �־��� ����� ���̵� ��Ģ�� ã�Ҵٸ� ���붧�� ���� ��ȣ�� ������뿩�θ� �˻��ϰ�, �����ϸ� "Authentication Required (���� �ʿ�)" ������ �Ѵ�.

�׷��� ���� ����� �����ͺ��̽��� ����� ���̵� �ְų� ��ȿ�� Require ���þ ���� ��⿡ �����ϸ�, ù��° ����� ����ڸ� �˻��ϰ�, AuthBasicAuthoritative ������ ������� ������ �ѱ����ʴ´�.

�⺻������ ��� �ѱ����ʰ�, �𸣴� ����� ���̵�� ��Ģ�� ��� "Authentication Required (���� �ʿ�)" ������ �Ѵ�. �� ���þ �������������� �ý����� �����ϰ� �����Ǹ�, NCSA �������� ���� �����Ѵ�.

top

AuthBasicProvider ���þ�

����:�� ��ġ�� ���� ���������ڸ� �����Ѵ�
����:AuthBasicProvider On|Off|provider-name [provider-name] ...
�⺻��:AuthBasicProvider On
������:directory, .htaccess
Override �ɼ�:AuthConfig
����:Base
���:mod_auth_basic

AuthBasicProvider ���þ�� �� ��ġ���� ����ڸ� ������ �����ڸ� �����Ѵ�. ���� On�̸� �⺻������(file)�� �����Ѵ�. mod_authn_file ����� file �����ڸ� �����ϱ⶧���� ������ �� ����� �ִ��� Ȯ���ؾ� �Ѵ�.

����

<Location /secure>
AuthBasicProvider dbm
AuthDBMType SDBM
AuthDBMUserFile /www/etc/dbmpasswd
Require valid-user
</Location>

�����ڴ� mod_authn_dbm�� mod_authn_file�� �����϶�.

���� Off�̸� ������ ����� ����� �⺻���·� ���ư���.

������ ���:  en  |  fr  |  ja  |  ko 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.