.
 News & Views
  The online information source for iSeries and mrc-Productivity Series users
.  April 2002  
Volume 2, Issue 4  
.
. . . . . . . . .

Tech Corner

Application-Specific Security on Your Intranet

by Andrew Vigrass


If one of your mrc intranet applications should only be accessed by a set list of users, it is easy to set up the required security.

There is no need to change the program. All that is required is to use the standard AS/400 HTTP security. The following instructions also explain how to secure a whole dictionary to a set list of users.
1: Creation of a Validation List
Step 1.1
On a host session, create a validation list object:

CRTVLDL VLDL(library/validlist) AUT(*ALL)


Step 1.2
If the TCP/IP admin server is not already started, start it:

STRTCPSVR SERVER(*HTTP) RESTART(*NONE) HTTPSVR(*ADMIN)


Step 1.3
Maintaining the list of users in the validation list is done from a browser. To access the HTTP server configuration menu use the following hyperlink:

http://111.222.333.44:2001

(replacing 111.222.333.44 with the IP address of your system)

The menu options differ between OS/400 releases, but find your way through the HTTP configuration menus to configuration and administration menus, where there will be an option to maintain entries in validation lists. Add the profiles that you require to the validation list created in step 1.

The essential entries when adding a user are: User Name, Password, Password Verification, and Validation List. All other entries can be left blank (as of release V5R1)

2: Securing An Application To A Validation List
Step 2.1
On a host session, edit the HTTP configuration to link your validation list with the application that you wish to secure:

WRKHTTPCFG

Then add the following entries:

Protect /mrcjava/dictionary/I00001GC.MRC {
PasswdFile library/validlist
ACLOverride Off
DeleteMask All@(*)
PostMask All@(*)
PutMask All@(*)
GetMask All@(*)
AuthType Basic
ServerID App_Security
UserID %%SERVER%%
}

Replacing:
"dictionary/I00001GC" with your dictionary and application number;
"library/validlist" with the details of the validation list created in step 1;
"App_Security" with you own alternative description, if preferred.


Step 2.2
If you started the TCP/IP admin server, this can now be stopped:

ENDTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)


Step 2.3
The TCP/IP HTTP server needs restarting to reflect the changes:

STRTCPSVR SERVER(*HTTP) RESTART(*HTTP) HTTPSVR(DEFAULT)


3: Securing a Whole Dictionary
The above instructions secure a specific application, but the same technique can be used to secure an entire directory / dictionary to a specific validation list. This would be achieved by changing the protect directive to: Protect /mrcjava/dictionary/* {

Take Our Poll

What is the primary focus of your IT department right now?

Reporting
Customizing a vendor
    software package
Web-enabling current
    apps for existing site
Integrating legacy     systems
Building an intranet,
    extranet, or Internet
Enhancing security
Other

View Results
View Poll Archive

.
.
.


.
. Quick Links...

Visit mrc's Web site

See a live demo

Get more information

View Latest Newsletter

Last Month's Newsletter

.
.
.
.
. Contact mrc...

U.S. Offices
mrc@mrc-productivity.com

voice: 630-916-0662

www.mrc-productivity.com



U.K. Offices
michaels, ross & cole (UK) ltd

voice (UK): +44 (0)20 8282 1600

mail@mrcuk.com

.
 mrc publishes this newsletter on a monthly basis. Subscription is free of charge. Please send any questions or comments about this newsletter to news@mrc-productivity.com. This newsletter is edited by Heather Gately.

Visit our subscription center to update your subscription or unsubscribe.
View our privacy promise.

.