X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1CACB52969 for ; Thu, 18 Aug 2005 00:32:28 -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 14386-01 for ; Thu, 18 Aug 2005 03:32:22 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by svr1.postgresql.org (Postfix) with ESMTP id 568F952940 for ; Thu, 18 Aug 2005 00:32:21 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id i4so287399wra for ; Wed, 17 Aug 2005 20:32:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=suSOCFQ/KpmcKMTBSchTUDNUqj6bwM/mOyINjkqyj4BJLSGh93q97Xy2XVQ1jdbU3Jw1rHhjCFfQjP3u0cRiD9mstkuPK1YskxZmQyfZLMDtL1ygKZiCPtqrQ8Fwn7FzXpPvBwj+rKFWdKQUi/PRBJvjDEMA+G3IJpZlshEriCc= Received: by 10.54.4.45 with SMTP id 45mr893101wrd; Wed, 17 Aug 2005 20:32:21 -0700 (PDT) Received: by 10.54.135.1 with HTTP; Wed, 17 Aug 2005 20:32:21 -0700 (PDT) Message-ID: Date: Wed, 17 Aug 2005 23:32:21 -0400 From: Pascual De Ruvo To: Premsun Choltanwanich Subject: Re: How to secure PostgreSQL Data for distribute? Cc: pgsql-sql@postgresql.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.163 required=5 tests=[AWL=0.139, RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200508/135 X-Sequence-Number: 22363 On 8/17/05, Premsun Choltanwanich wrote: > =20 > Dear All,=20 > =20 > I need to distribute my application that use PostgreSQL as database = to > my customer. But I still have some questions in my mind on database > security. I understand that everybody who get my application database wi= ll > be have a full control permission on my database in case that PostgreSQL > already installed on their computer and they are an administrator on > PostgreSQL. So that mean data, structure and any ideas contain in databas= e > will does not secure on this point. Is my understanding correct?=20 > =20 > What is the good way to make it all secure? Please advise.=20 If your customer has the root password of the machine that is running postgresql, there's nothing you can do in order to limit the access to the database structure. My recommendation is: show them the code, make it free!