From jkanter@virginia.edu Tue May 28 20:04:16 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id F3C60475981 for ; Tue, 28 May 2002 16:04:16 -0400 (EDT) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (Postfix) with SMTP id 247B947597E for ; Tue, 28 May 2002 16:04:16 -0400 (EDT) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa18567; 28 May 2002 16:04 EDT Received: from jlk3xpc (d-128-19-222.bootp.Virginia.EDU [128.143.19.222]) by smtp.mail.Virginia.EDU (8.9.3/8.9.3) with SMTP id QAA30052 for ; Tue, 28 May 2002 16:04:14 -0400 Message-ID: <016e01c20683$87b16eb0$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: two databases Date: Tue, 28 May 2002 16:09:10 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_016B_01C20662.00782270" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200205/240 X-Sequence-Number: 4415 This is a multi-part message in MIME format. ------=_NextPart_000_016B_01C20662.00782270 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'd like to set up two databases on one server but need information on secu= ring them separately. The databases will be accessed by different groups, w= ho cannot have access to the data on the other database. I assume that this= can be done using Postgres 7.1.3. Am I correct? The database that I curren= tly have setup is enforcing sign-on using the pg_passwd utility. Would I ju= st need a separate pg_passwd file for the new database? Do I need to create= a new database cluster area? Can anyone point to some documentation on the best way to set this up? suggestions? Thank you=20 Jodi _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu =20 =20 =20 ------=_NextPart_000_016B_01C20662.00782270 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'd like to set up two databases on one= server=20 but need information on securing them separately. The databases will be acc= essed=20 by different groups, who cannot have access to the data on the other databa= se. I=20 assume that this can be done using Postgres 7.1.3. Am I correct? The database that I currently have setup is enfor= cing=20 sign-on using the pg_passwd utility. Would I just need a separate pg_passwd= file=20 for the new database? Do I need to create a new database cluster=20 area?
Can anyone point to some documentation = on the=20 best way to set this up?
suggestions?
Thank you
Jodi

_______________________________
Jodi=20 L Kanter
BioInformatics Database Administrator
University of=20 Virginia
(434) 924-2846
jkanter@virginia.edu

 

 

 

<= /DIV> ------=_NextPart_000_016B_01C20662.00782270-- From nickf@ontko.com Tue May 28 22:18:47 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id CE31D4759A8 for ; Tue, 28 May 2002 18:18:47 -0400 (EDT) Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id 2E8614759A1 for ; Tue, 28 May 2002 18:18:46 -0400 (EDT) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id RAA06386; Tue, 28 May 2002 17:15:17 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: "Jodi Kanter" , "Postgres Admin List" Subject: Re: two databases Date: Tue, 28 May 2002 17:13:38 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-reply-to: <016e01c20683$87b16eb0$de138f80@virginia.edu> X-Archive-Number: 200205/242 X-Sequence-Number: 4417 Jodi- I've not actually tried this, but here is how I think you could set up a division such as you describe: Create two password files with pg_passwd. Edit pg_hba.conf to specify a different password file for each database: local database1 password passwords1 local database2 password passwords2 The lines above assume that you've got two databases, "database1" & "database2", with two corresponding password files, "password1" & "password2". It also assumes that your database is on the same machine as the users. If the database is on a different machine, you'd want to add the IP address(es) & mask & change local to host. -Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Jodi Kanter Sent: Tuesday, May 28, 2002 3:09 PM To: Postgres Admin List Subject: [ADMIN] two databases I'd like to set up two databases on one server but need information on securing them separately. The databases will be accessed by different groups, who cannot have access to the data on the other database. I assume that this can be done using Postgres 7.1.3. Am I correct? The database that I currently have setup is enforcing sign-on using the pg_passwd utility. Would I just need a separate pg_passwd file for the new database? Do I need to create a new database cluster area? Can anyone point to some documentation on the best way to set this up? suggestions? Thank you Jodi _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu From jm.poure@freesurf.fr Wed May 29 06:51:54 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id C61F647511A for ; Wed, 29 May 2002 02:51:54 -0400 (EDT) Received: from www1.translationforge.com (unknown [212.11.36.58]) by postgresql.org (Postfix) with ESMTP id 9908F474E44 for ; Wed, 29 May 2002 02:51:51 -0400 (EDT) Received: from linus.translationforge.com ([192.168.1.102]) by www1.translationforge.com (8.12.1/8.12.1) with ESMTP id g4T6pvme023199; Wed, 29 May 2002 08:51:57 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Jean-Michel POURE Reply-To: jm.poure@freesurf.fr To: Jodi Kanter , Postgres Admin List Subject: Re: two databases Date: Wed, 29 May 2002 08:51:40 +0200 X-Mailer: KMail [version 1.4] References: <016e01c20683$87b16eb0$de138f80@virginia.edu> In-Reply-To: <016e01c20683$87b16eb0$de138f80@virginia.edu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205290851.40532.jm.poure@freesurf.fr> X-Archive-Number: 200205/243 X-Sequence-Number: 4418 Le Mardi 28 Mai 2002 22:09, Jodi Kanter a =E9crit : > I'd like to set up two databases on one server but need information on > securing them separately. The databases will be accessed by different > groups, who cannot have access to the data on the other database. I assume > that this can be done using Postgres 7.1.3. Am I correct? The database th= at > I currently have setup is enforcing sign-on using the pg_passwd utility. > Would I just need a separate pg_passwd file for the new database? Do I ne= ed > to create a new database cluster area? Can anyone point to some > documentation on the best way to set this up? suggestions? > Thank you Please note that the stable version of PostgreSQL is 7.2.1. Documentation can be found at: - http://www.postgresql.org/idocs -> standard documentation - http://techdocs.postgresql.org -> technical notes - http://pgadmin.postgresql.org -> pgAdmin2 interface Cheers, Jean-Michel POURE