RE: Re: Re: Secure pages

From: "Christian Marschalek" <cm(at)chello(dot)at>
To: "PostgreSQL [PHP]" <pgsql-php(at)postgresql(dot)org>
Subject: RE: Re: Re: Secure pages
Date: 2001-03-13 22:23:10
Message-ID: NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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;)

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Grant 2001-03-13 22:23:26 Re: Secure pages
Previous Message Timothy_Maguire 2001-03-13 20:48:29 Re: Re: Secure pages