pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christian Marschalek <cm@chello.at>
To: PostgreSQL [PHP] <pgsql-php@postgresql.org>
Subject: RE: Re: Re: Secure pages
Date: Tue, 13 Mar 2001 23:23:10 +0100
Message-ID: <NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at> (raw)
In-Reply-To: <OF3CE0DA25.509B61DE-ON85256A0E.0071EAA3@hartehanks.com>

Why not ask for a password, encrypt it (with 128bit or something;), check it
with the database (which has the encyrpted pwds) and pass the encrypted
password from page to page...

like: <a href="blah.php?encryptedpassword">
or just a variable which is one indicating that the password was typed in
correctly at least once!

For the mater of direct accessing you could just check if the pwd (or the
var) was passed (is one) and if not -> well no access...

You could also use a cookie and check for it (with the encrypted pwd) but (I
don't know why) cookies seem preaty unsafe too me :o)

just my two cents;)




view thread (22+ messages)  latest in thread

Message-ID: <NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at>
Permalink:  ../NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at/
Also on:    postgresql.org/message-id/NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at

 · 

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-php@postgresql.org
  Cc: cm@chello.at
  Subject: Re: Secure pages
  In-Reply-To: <NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at>
  References: <OF3CE0DA25.509B61DE-ON85256A0E.0071EAA3@hartehanks.com> <NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at>

* 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