Received: from math.unl.edu.ar (math.unl.edu.ar [170.210.15.78]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2DMlIx04370 for ; Tue, 13 Mar 2001 17:47:19 -0500 (EST) (envelope-from martin@math.unl.edu.ar) Received: from localhost (localhost [[UNIX: localhost]]) by math.unl.edu.ar (8.9.3/8.9.3) id TAA25517; Tue, 13 Mar 2001 19:42:26 -0300 Content-Type: text/plain; charset="iso-8859-1" From: "Martin A. Marques" To: "Christian Marschalek" , "PostgreSQL [PHP]" Subject: Re: Re: Re: Secure pages Date: Tue, 13 Mar 2001 19:42:26 -0300 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01031319422609.24705@math.unl.edu.ar> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/17 X-Sequence-Number: 201 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: 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 -----------------------------------------------------------------