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.

<Directory "cgi-bin/3par-rpts"> AuthType Basic

AuthName "3PAR System Reporter Database Query" AuthUserFile {password_file}

Require user {username_read} </Directory>

<Directory "cgi-bin/3par-policy"> AuthType Basic

AuthName "3PAR System Reporter Policy Update" AuthUserFile {password_file}

Require user {username_edit} </Directory>

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.

About Apache HTTP Server Authorization and Access Control

3.35