|
Perhaps I am missing the point of this but if the task is to provide
a web page the can only be used by an AS400 profile then this is
commonly achieved by setting the Apache configuration to require that
such pages are protected by the AS400 system password file (
PasswdFile %%SYSTEM) and assigning Basic Authentication (AuthType
Basic). By also setting these requests to run as UserID %%CLIENT%%
then the HTTP server takes care of security automatically and any
server-side functions performed by the web page will already have
been authenticated by the HTTP server and can be trusted to execute
under profile designated by the server in the REMOTE_USER environment
variable which can be passed to any user defined routine.
As an Amazon Associate we earn from qualifying purchases.
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.