Case name |
CASE02 |
Objective |
Validating vs a validation list
|
Introduction |
Validation list objects are a new object type *VLDL
since V4R1 that provide a method for applications
to securely store user authentication information.
The Internet Connection Server (ICS) uses validation lists
to implement the concept of an Internet user.
In performing user validation,
the ICS can use the information from a validation list
rather than require all users of the ICS to have an AS/400
user id and password.
To create and delete validation lists, you can use the CL commands Create
Validation List (CRTVLDL) and the Delete Validation List (DLTVLDL),
or use http server ADMIN to do the same.
Application Programming Interfaces (APIs) are also provided to allow
applications to add, change, remove, verify (authenticate), and find
entries in a validation list. For more information and examples, see
OS/400 Security APIs, SC41-5872
|
Case description |
We have an HTML source file,
HTMLSEC in library WEBSECURE.
All the members in this file are to be made
secure in the web environment
We want to enable web access to
html member CASE02TRY
(in file WEBSECURE/HTMLSEC)
only to those users who
belong to a given validation list.
|
Solution |
We did the following:
We used command CRTVLDL
to create validation list VLDL01 in library WEBSECURE.
This validation list is
- owned by used profile WEBUSER01
- has autority *EXCLUDE to the *PUBLIC
- has authority *USE for user profile QTMHHTTP
Entries in a validation list can be easily maintained
via ADMIN (see later).
However, as we knew that ADMIN would request at least a
pc object with extension .grp in a root directory,
we created file group01.grp
in directory /websecure.
Look at its authorities:
User |
Data Authority |
Object Authorities
*PUBLIC |
*R |
|
QSECOFR |
*RWX |
|
|
|
|