Skip to main content  
  Easy400   |       IBM i
Public-Source
 
Overview
 
Managing security
 
 

 
iSeries WEB Access Toolkit
Logo of iSeries WEB Access Toolkit

iSeries WEB Access Toolkit provides webmasters with some facilities to maintain their iSeries WEB sites through the WEB itself.

This toolkit is expecially useful when HTTP is the only way the server can be accessed.

Though this toolkit may result into a great help, once installed it may open a security breach on server defenses. This is why we recommend that you fully read and understand our page on Managing security.

HTTP directives

Once library WEBACT and IFS directory /webact have been installed, you must provide an HTTP instance - named WEBACT - to run the utility from your WEB browser.

You can easily do that by running the following command:
CPYF FROMFILE(WEBACT/QATMHINSTC) TOFILE(QUSRSYS/QATMHINSTC)
     FROMMBR(WEBACT) TOMBR(WEBACT) MBROPT(*REPLACE) CRTFILE(*YES)


Then run the following command to start the HTTP instance:
STRTCPSVR SERVER(*HTTP) HTTPSVR(WEBACT)

The HTTP instance WEBACT listens on port 41941. Therefore, to start the utility you must use the following URL:
http://your_system_IP_address:41941/webact/start
You will be requested to enter a username and a password. Use webact for both (See page Managing Security).

As an alternate approach, you may add to an already existing HTTP instance of yours the HTTP directives available in the IFS stream file /webact/http/conf/httpd.conf (See Figure F1 at page Managing security).

Facilities provided

  1. Upload - Type I
    This facility provides a very easy way to upload both text (e.g. html pages) and binary files (e.g. images). The original files to be uploaded may physically be on the hard disk of the client, or on another system to which the client is connected (e.g. via Client Access).
  2. Upload - Type II
    This class of facilities allows to upload source members and save files. Usually two sessions are opened: one with the source server, one with the target server (the WEB site to be updated). Commands are available to:
    • Display source members
    • Download source members
    • Save libraries, objects, directories
    • Create, display, and clear save files
    • Download save files
    • Upload source members
    • Upload save files
    • Restore libraries, objects, directories
  3. Command Entry
    The Command Entry facility in this Toolkit is provided for some very basic operations. As it runs in batch mode, it is not able to
    • display command prompts
    • bring up interactive displays
    What it does is to
    1. execute a command
    2. provide response messages
    3. display the generated spool file
    In a few cases ( wrkoutq, wrkactjob, wrksbmjob, dsplnk ), for some national languages (English, Italian), it would interpret the generated spool file and provide some input options.
    Note. In order to display the printed output from commands, this command entry has to know in advance the name of the spool file. This is done through a file (cmdsplf in library webact), which provides the spool file names for a number of commands. Such commands can be listed by pressing the button Supported display commands.
    Other features:
    • easy-to-use duplication of previous commands
    • ability to display the joblog of the HTTP server job that processed a command (this may help in understanding the reason of a command failure)
  4. Work with validation lists
    You no longer need the ADMIN server to maintain validation lists. This toolkit facilities let's you browse and update validation lists as they were regular files.
  5. Copy file via FTP
    This is a batch FTP that allows to copy files from your server to another server or to another directory on the same server.
    The log of the batch session is displayed at the touch of a button.

... full sources provided!


    Contact