Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8DAC6650131 for ; Fri, 11 Jul 2008 06:40:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 09417-04 for ; Fri, 11 Jul 2008 06:39:47 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by postgresql.org (Postfix) with ESMTP id E6D5864FFD8 for ; Fri, 11 Jul 2008 06:39:50 -0300 (ADT) Received: by yw-out-2324.google.com with SMTP id 3so1718376ywj.73 for ; Fri, 11 Jul 2008 02:39:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=Fwhoj7xM54pt9GulmdZgM+Ul06XpLLJJx3nbNo/bf8Q=; b=DF7/mHWvpsqSnB+gSdqkGP2NAVZTzX7xdXAgrURRBWN31bfe8J4LGVLeT/MStqxPgp qRPY5snEbodBBkIKN3wMo2EOrNRlw1xDJoMSezQ/e6fKTfIQv5B+OMbIvJuqnaFyxQI6 G+yGQsJzR6KMvsSkLPuobI0WNjqxRXxyjqd5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rnzO9BlXF5YW8Jx0gCl1aau/M9c/D8mIYFkk7jigdQk8WzUz5jSXJfbCurTEjQBqba yqBf9pODYAdSW54EBcYnsAe2EgYkhpYudz+8ceGA/NkrIm/8gmreEhcCa6L/4Fuj1jZc sKCPuS4GhlzJQq0swK2fgOeG0DL896ROnVX1w= Received: by 10.151.114.6 with SMTP id r6mr15513181ybm.181.1215769183229; Fri, 11 Jul 2008 02:39:43 -0700 (PDT) Received: by 10.151.62.17 with HTTP; Fri, 11 Jul 2008 02:39:43 -0700 (PDT) Message-ID: Date: Fri, 11 Jul 2008 10:39:43 +0100 From: "niall el-assaad" To: pgsql-admin@postgresql.org Subject: Password recommendations for an appliance MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16553_26927976.1215769183204" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200807/112 X-Sequence-Number: 29722 ------=_Part_16553_26927976.1215769183204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm developing an appliance that runs postgresql and will be provided to many people. I am wondering on the best way of protecting the database user account. At the moment the account has no password on it, to me this means that the only people who can connect are the application (PHP running on the box), or someone logged in as root at the linux command line of the appliance (which means they have permission to anything anyway). In this scenario is it worth putting a password on the user account? The password would need to be stored in a file on the box anyway (so the root user could get to it quite easily)? I'm wondering if there are any best practices for this, as I've seen many appliances that don't bother with a password, and only a few that do use a password. Opinions very welcome. thanks, niall ------=_Part_16553_26927976.1215769183204 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I'm developing an appliance that runs postgresql and will be provided to many people.

I am wondering on the best way of protecting the database user account.

At the moment the account has no password on it, to me this means that the only people who can connect are the application (PHP running on the box), or someone logged in as root at the linux command line of the appliance (which means they have permission to anything anyway).

In this scenario is it worth putting a password on the user account? The password would need to be stored in a file on the box anyway (so the root user could get to it quite easily)?

I'm wondering if there are any best practices for this, as I've seen many appliances that don't bother with a password, and only a few that do use a password.

Opinions very welcome.

thanks,

niall
------=_Part_16553_26927976.1215769183204--