Re: [ADMIN] Apache authentication & PostgreSQL - Mailing list pgsql-sql

From Giuseppe Tanzilli
Subject Re: [ADMIN] Apache authentication & PostgreSQL
Date
Msg-id 3760DC7D.34C6258F@eurolink.it
Whole thread Raw
In response to Apache authentication & PostgreSQL  (Fomichev Michael <fomichev@null.ru>)
List pgsql-sql
Hello,
try to use the apache/postgresql authentication module
ftp://ftp.eurolink.it/pub/linux/postgreSQL

bye

Fomichev Michael wrote:

> 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@null.ru>|                                               |
> @------------------+-----------------------------------------------@

--
-----------------------------------------------------------------Giuseppe Tanzilli               Flashnet S.p.A.
Telecomunicazionimailto:g.tanzilli@flashnet.it  Sede di FrosinoneEurolink S.r.l.                 mailto:
info.frosinone@flashnet.itTel:+39-0775-830012            http://www.flashnet.itFax: +39-0775-201321            EUnet
BusinessPartnerhttp://www.eurolink.it          AIIP and ANFOV associatedPGP Key: finger giuseppe@king.fr.flashnet.it
 
-------------------------------------------------------------------




pgsql-sql by date:

Previous
From: Volker Hess
Date:
Subject: RE: [SQL] Apache authentication & PostgreSQL
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [ADMIN] Apache authentication & PostgreSQL