<-
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_authn_file

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

�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.
����:���������� �̿��� ����� ����
����:Base
����:authn_file_module
�ҽ�����:mod_authn_file.c
����:����ġ 2.1 ����

���

�� ����� mod_auth_digest�� mod_auth_basic ���� �����մܸ���� ���� �Ϲ� ���� ��ȣ���Ͽ��� ����ڸ� ã�Ƽ� �����Ѵ�. mod_authn_dbm�� ����� ����ϴ�.

mod_auth_basic�̳� mod_auth_digest�� ����Ҷ� AuthBasicProvider�� AuthDigestProvider�� ���� file�� �����ϸ� �� ����� ����Ѵ�.

���þ��

����

top

AuthUserFile ���þ�

����:������ ����ڸ��� ��ȣ ����� �����ϴ� �������ϸ��� �����Ѵ�
����:AuthUserFile file-path
������:directory, .htaccess
Override �ɼ�:AuthConfig
����:Base
���:mod_authn_file

AuthUserFile ���þ�� ����� ������ ����� ����ڸ��� ��ȣ ����� �����ϴ� �������ϸ��� �����Ѵ�. File-path�� ���ϰ���̴�. �����θ� ������� ������ ServerRoot�� ����η� ó���Ѵ�.

������ �� �ٿ��� ����ڸ�, �ݷ�, ���ڵ��� ��ȣ�� ������� ���´�. ���� �ٿ��� ������ ����� ���̵� �����ϸ�, mod_authn_file�� ù��°�� ������ ��ȣ�� ����Ѵ�.

�����ϵ� �������̳� src/support�� �ִ� htpasswd ������ HTTP Basic Authentication�� ����� ��ȣ������ �����Ѵ�. �ڼ��� ������ manpage�� �����϶�. ����ϸ�:

�ʱ� ���̵� username�� ���� ��ȣ���� Filename�� �����. ��ȣ�� �����:

htpasswd -c Filename username

��ȣ���� Filename�� username2�� �߰��ϰų� �����Ѵ�:

htpasswd Filename username2

ū ���������� �˻��ϴ� ���� �ſ� ��ȿ�������� �����϶�. ����ڰ� ���ٸ� ��� AuthDBMUserFile�� ����ؾ� �Ѵ�.

HTTP Digest Authentication�� ����Ѵٸ� htpasswd ������ �ȵȴ�. ��� htdigest�� ����ؾ� �Ѵ�. Digest Authentication�� Basic Authentication�� ���� �ڷḦ ���� ���Ͽ� ��� ����� �� ������ �����϶�.

����

AuthUserFile�� �������� ������ �ۿ� ��ġ���� Ȯ���϶�. �� ������ ��ȣ�� ���丮 �ȿ� ���� ���� ����. �׷��� ������, Ŭ���̾�Ʈ�� AuthUserFile�� �ٿ�ε��� �� �ִ�.

������ ���:  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.