× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



All,

I'm not sure how best to do this, but I have written some software and I'm
trying to get users to try it out. This is free software. Eventually
open-source.

Basically, after years of being involved with these forums, I have seen
lots of posters ask questions about how to enable some level of secured
access to their IBM i from web pages. The questions often go something like
this:

"We've written some CGI programs which we want to put on our production
box. How can we lock them down so only certain users can call them?"

"We don't want to give out IBM i user profiles to every user who calls our
CGI programs, but we don't want them open to everyone!"

"I don't want my users to get partway through a transaction and then go to
lunch - how can I stop them?"

In response to these sorts of questions and their answers (typically as
simplistic as "Use the UserID HTTP server configuration directive"), I
wrote the Web Access User Validator (WWWVALID) service program - a
fully-fledged security add-on to existing (and new) CGI programs.

A brief description (from the product documentation) is as follows:

*The Web Access User Validator (WWWVALID) is a service program which
contains a number of procedures which can be added to any existing CGI
program, to provide user profile/password (credential) validation.*

*Put simply, including WWWVALID in your CGI applications allows you to
define several options to provide enhanced application security:*

- *An application-specific sign-on page that is automatically displayed
when the user calls a given CGI program (by submitting a page from a
browser)
*
- *User-defined credential validation, allowing you to define your own
userid's and sign-on control
*
- *Application timeout processing (per-page and per-session), so a user
is forced to complete a transaction or submit a given page within a
specified time limit
*
- *Session-specific cookies, to ensure complete end-to-end session
management
*
- *The option to swap to run under the user profile used to sign-on, so
the CGI program can run with advanced authorities
*

*These additional options can be easily added to your existing CGI programs
with only a few lines of code, and with no changes to any HTTP server
configuration.*

Anyway, it's now ready for its unveiling. I would greatly appreciate it if
anyone could download it (see below), try it out and tell me what they
think. Particularly those of you who are already using CGI programs to
which they want to add a level of security. The downloadable package
includes a full user guide, setup instructions and a number of sample CGI
programs showing how to use WWWVALID. I have also attached a copy of the
user guide to this email.

The downloadable package (user guide plus V5R4 save file) is available on
SourceForge at *http://sourceforge.net/projects/wwwvalid/*.<http://sourceforge.net/projects/wwwvalid/>
The
version on there is a 'runtime' version, meaning that the save file
includes the source for the various example programs, but does not include
the *source* for WWWVALID itself - it contains a copy of the *SRVPGM
object, with observability removed. However, if anyone wants the source, I
will gladly send it to them. At some point I will update the SourceForge
package with the full source for all objects - if you download it form
there, you can be informed of any updates.

Thanks,

Rory

p.s. I checked with David and posted to the RPG list, since WWWVALID is
entirely written in RPG and the sample programs are also in RPG.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.