beautypg.com

HP 3PAR System Reporter Software User Manual

Page 71

background image

3.35

About Apache HTTP Server Authorization and Access Control

System Reporter 2.8

3PAR System Reporter User’s Guide

(see

Figure 4-9 on page 4.14

and

Figure 4-5 on page 4.9

for examples). Depending on how you

configure the Apache

httpd.conf

file, the user will see this dialog box when attempting to

read the database (or database sampling policies) or when attempting to edit the sampling

policies via Web browser. Note that the appearance of this dialog box may vary depending on

which version of Windows you are using.

The following example provides two sample

Directory

directives that can be placed in the

Apache

httpd.conf

file for the purpose of user access control. This example allows for the

distinction between users with database and sampling policy read access and those with

database sampling policy edit privileges. Note that, when adding

Directory

directives to the

httpd.conf

file, you must also create a password file

{password_file}

, as described in

your Apache documentation.

In the above example:

{password_file}

is a password file that you must create (see the Apache documentation

for instructions). Both directives can use the same password file.

{username_read}

is the username for a user that is allowed read access to the System

Reporter database and database sampling policies

{username_edit}

is the username for a user that is allowed to edit database sampling

policies.

AuthType Basic

AuthName "3PAR System Reporter Database Query"

AuthUserFile {password_file}

Require user {username_read}

AuthType Basic

AuthName "3PAR System Reporter Policy Update"

AuthUserFile {password_file}

Require user {username_edit}