Authentication and Authorization Enforcement
Managing Security
8-9
User Authentication and Authorization
Basic authentication prompts for a user name and password before serving an
HTTP request. When a browser requests a page from a protected area, Oracle HTTP
Server responds with an unauthorized message (status code 401) containing a
WWW-Authenticate:
header and the name of the realm configured by the
configuration directive,
AuthName
. When the browser receives this response, it
prompts for a user name and password. After the user enters a user name and
password combination, the browser sends this information back to the server in an
Authorization header. In the authorization header message, the user name and
password are encoded as a base 64 encoded string.
User authorization involves checking the authenticated user against an access
control list that is associated with a specific server resource such as a file or
directory. To configure user authorization, place the
require
directive in the
httpd.conf
file, usually within a virtual host container. User authorization is
commonly used in combination with user authentication. After the server has
authenticated a user’s user name and password, then the server compares the user
to an access control list associated with the requested server resource. If Oracle
HTTP Server finds the user or the user’s group on the list, then the resource is made
available to that user.
Using mod_auth to Authenticate Users
User authentication is based on user names and passwords that are checked against
a list of known users and passwords. These user name and password pairs may be
stored in a variety of forms, such as a text file, database, or directory service. Then
configuration directives are used in
httpd.conf
to configure this type of user
authentication on the server.
mod_auth
uses the
AuthUserFile
directive to set up
basic authentication. It supports only files.
Any authentication scheme that you devise requires that you use a combination of
the configuration directives listed in
Table 8–1
.
Table 8–1
Directives Descriptions
Directive Name
Description
AuthName
Defines the name of the realm in which the user names and
passwords are valid. Use quotation marks if the name includes
spaces.
AuthType
Specifies the authentication type. Most authentication modules use
basic authentication, which transmits user names and passwords in
clear text. This is not recommended.
Содержание HTTP Server
Страница 1: ...Oracle HTTP Server Administrator s Guide 10g Release 1 10 1 Part No B12255 01 December 2003 ...
Страница 12: ...xii ...
Страница 22: ...xxii ...
Страница 30: ...Starting Stopping and Restarting Oracle HTTP Server 1 8 Oracle HTTP Server Administrator s Guide ...
Страница 38: ...About htaccess Files 2 8 Oracle HTTP Server Administrator s Guide ...
Страница 52: ...Getting Information about Processes 4 8 Oracle HTTP Server Administrator s Guide ...
Страница 60: ...Configuring Reverse Proxies and Load Balancers 5 8 Oracle HTTP Server Administrator s Guide ...
Страница 70: ...Specifying Log Files 6 10 Oracle HTTP Server Administrator s Guide ...
Страница 164: ...Security Services Implemented Within Oracle HTTP Server 8 34 Oracle HTTP Server Administrator s Guide ...
Страница 170: ...9 6 Oracle HTTP Server Administrator s Guide ...
Страница 178: ...opmn xml A 8 Oracle HTTP Server Administrator s Guide ...
Страница 211: ...Glossary 9 X 509 Public keys can be formed in various data formats The X 509 v3 format is one such popular format ...
Страница 212: ...Glossary 10 ...
Страница 224: ...Index 12 ...