From: Stephan Borg <wolff_borg@yahoo.com.au>
To: 'Vince Vielhaber' <vev@michvhf.com>
Cc: pgsql-php@postgresql.org
Subject: Re: WWW-Authentication and Postgresql
Date: Thu, 27 Dec 2001 14:00:53 +1100
Message-ID: <001801c18e82$ba9dc900$1400a8c0@p1g> (raw)
In-Reply-To: <Pine.BSF.4.40.0112252221500.36020-100000@paprika.michvhf.com>
I have found the mod_auth_pgsql module to be the easiest way to
implement this function. Does anyone know if it takes the points
mentioned below into consideration?
Stephan
-----Original Message-----
From: Vince Vielhaber [mailto:vev@michvhf.com]
Sent: Wednesday, 26 December 2001 2:25 PM
To: Andrew McMillan
Cc: Stephan Borg; pgsql-php@postgresql.org
Subject: Re: [PHP] WWW-Authentication and Postgresql
<snip>
A couple of quick gotchas. 1) make sure you filter out all unwanted
characters so someone can't execute sql calls inside of a username or
password. 2) On failure make sure you send a 401 to the browser just
like you do initially when asking for the password to clear out the old
one - you can also use this to handle logouts.
Vince.
--
========================================================================
==
Vince Vielhaber -- KA8CSH email: vev@michvhf.com
http://www.pop4.net
56K Nationwide Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
========================================================================
==
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
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-php@postgresql.org
Cc: wolff_borg@yahoo.com.au, vev@michvhf.com
Subject: Re: WWW-Authentication and Postgresql
In-Reply-To: <001801c18e82$ba9dc900$1400a8c0@p1g>
References: <Pine.BSF.4.40.0112252221500.36020-100000@paprika.michvhf.com> <001801c18e82$ba9dc900$1400a8c0@p1g>
* 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