pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin A. Marques <martin@math.unl.edu.ar>
To: Christian Marschalek <cm@chello.at>
To: PostgreSQL [PHP] <pgsql-php@postgresql.org>
Subject: Re: Re: Re: Secure pages
Date: Tue, 13 Mar 2001 19:42:26 -0300
Message-ID: <01031319422609.24705@math.unl.edu.ar> (raw)
In-Reply-To: <NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at>
References: <NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at>

El Mar 13 Mar 2001 19:23, Christian Marschalek escribió:
> 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">

Horrible idea!! Even with an encrypted password. Use PHP sessions, and save 
any info on the session (this is saved on a temp file on the server, and only 
the session handle is passed to the browser).


-- 
System Administration: It's a dirty job, 
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués			email: 	martin@math.unl.edu.ar
Santa Fe - Argentina		http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------



view thread (22+ messages)  latest in thread

Message-ID: <01031319422609.24705@math.unl.edu.ar>
Permalink:  ../01031319422609.24705@math.unl.edu.ar/
Also on:    postgresql.org/message-id/01031319422609.24705@math.unl.edu.ar

 · 

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: martin@math.unl.edu.ar, cm@chello.at
  Subject: Re: Secure pages
  In-Reply-To: <01031319422609.24705@math.unl.edu.ar>
  References: <NEBBJIFEELNNHFCELNFJMEPOCAAA.cm@chello.at> <01031319422609.24705@math.unl.edu.ar>

* 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