Apache authentication & PostgreSQL

From: Fomichev Michael <fomichev(at)null(dot)ru>
To: pgsql-sql(at)postgresql(dot)org
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Apache authentication & PostgreSQL
Date: 1999-06-11 04:02:35
Message-ID: Pine.LNX.4.04.9906111645240.9699-100000@ns.region.utsr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi, all !
I'm trying to show data from the PostgreSQL database to the Web page,
using WWW-SQL. I want the users to get an access to the database from the
browsers under their own names. To achieve this I configured Apache so
that it would authenticate an user when the user enters the directory with
CGI-scripts. I'd like that the name and the password of the user having
been authenticated, will be used in CGI-script for the access to the
database.
I can get the user's name via environment variable $REMOTE_USER, wich is
set by Apache.

Now the question: is it possible to get the password, which the user has
entered by the authentication ?

I know one solution. But it requires hacking of Apache.

Thanks for any suggestions.

@------------------+-----------------------------------------------@
| Fomichev Mikhail | The Government of Kamchatka region. |
| Vladimirovich | The Labour and Social Development Department. |
|<fomichev(at)null(dot)ru>| |
@------------------+-----------------------------------------------@

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Remigiusz Sokolowski 1999-06-11 06:13:29 Re: [SQL] Apache authentication & PostgreSQL
Previous Message Hub.Org News Admin 1999-06-11 02:53:50