Wrox Home  
Search P2P Archive for: Go

  Return to Index  

apache_server thread: Running CGI as the user logged in to Apache


Message #1 by "mike cartwright" <mike.cartwright@b...> on Fri, 8 Jun 2001 15:27:39
I have Apache web server, assume that this is providing a simple html 

page. Access to the page is controlled by the .htaccess file. When the 

page is accessed a user name and password are entered. There is a button 

on the page which runs a perl cgi script. 



How do I make the perl script run as the user who logged in ? (Assuming 

there is a corresponding unix user on the Apache server). 



Can I authenticate the user against the Aix User rather than maintain a 

separate user database for apache ?



I am aware of Security implications of any such solution.

  Return to Index