X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CFC12528B1 for ; Wed, 18 May 2005 07:36:38 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 78951-04 for ; Wed, 18 May 2005 10:36:30 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by svr1.postgresql.org (Postfix) with ESMTP id B65FF52808 for ; Wed, 18 May 2005 07:36:26 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 71so128544wri for ; Wed, 18 May 2005 03:36:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JFzcaal3lwTwBDRLA1LmQVp2bXjyCuHiZyzUc0hhUasF6+zOBcSRJtSRUW2w4xiySqMR32MpkNXHlenW+AFblX2n2NcEyz0FMlyblfrQgRsrE5YpQQfa+sBPa6FY4UQHc4vnbPtMvttPoG7zftQIQzyup7NqCB0P+XflsghY1Ec= Received: by 10.54.76.12 with SMTP id y12mr330799wra; Wed, 18 May 2005 03:36:30 -0700 (PDT) Received: by 10.54.93.17 with HTTP; Wed, 18 May 2005 03:36:30 -0700 (PDT) Message-ID: <9af1b19905051803367f893136@mail.gmail.com> Date: Wed, 18 May 2005 11:36:30 +0100 From: William Shatner Reply-To: William Shatner To: pgsql-jdbc@postgresql.org, pgsql-general@postgresql.org, pgsql-novice@postgresql.org Subject: Storing/Using Passwords Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.383 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200505/793 X-Sequence-Number: 78141 Hello, I am using PostgreSQL 8.0 as a data repository for a Java based system and I now want to add users to my java program with usernames and passwords. Is their an encrypted password field I can use in a User Table to store passwords or what would be the best way to approach this? The usernames and passwords will apply for connection to the to the java program only. All users will be connecting to the PostgreSQL database transparently using the same username/password stored in a properties file to validate their java program username/passwords. Kind Regards, Will