pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Giuseppe Tanzilli <g.tanzilli@eurolink.it>
To: Fomichev Michael <fomichev@null.ru>
Cc: pgsql-sql@postgreSQL.org
Cc: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] Apache authentication & PostgreSQL
Date: Fri, 11 Jun 1999 11:53:02 +0200
Message-ID: <3760DC7D.34C6258F@eurolink.it> (raw)
References: <Pine.LNX.4.04.9906111645240.9699-100000@ns.region.utsr>

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. Telecomunicazioni
 mailto: g.tanzilli@flashnet.it  Sede di Frosinone
 Eurolink S.r.l.                 mailto: info.frosinone@flashnet.it
 Tel: +39-0775-830012            http://www.flashnet.it
 Fax: +39-0775-201321            EUnet Business Partner
 http://www.eurolink.it          AIIP and ANFOV associated
 PGP Key: finger giuseppe@king.fr.flashnet.it
-------------------------------------------------------------------





view thread (7+ messages)  latest in thread

Message-ID: <3760DC7D.34C6258F@eurolink.it>
Permalink:  ../3760DC7D.34C6258F@eurolink.it/
Also on:    postgresql.org/message-id/3760DC7D.34C6258F@eurolink.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: g.tanzilli@eurolink.it, fomichev@null.ru, pgsql-admin@postgreSQL.org
  Subject: Re: [ADMIN] Apache authentication & PostgreSQL
  In-Reply-To: <3760DC7D.34C6258F@eurolink.it>
  References: <Pine.LNX.4.04.9906111645240.9699-100000@ns.region.utsr> <3760DC7D.34C6258F@eurolink.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox