Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id E33D26363A4 for ; Tue, 6 Apr 2010 14:02:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 12678-01-7 for ; Tue, 6 Apr 2010 17:02:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mail.postgresql.org (Postfix) with ESMTP id ED3E0637B21 for ; Tue, 6 Apr 2010 12:00:01 -0300 (ADT) Received: by bwz8 with SMTP id 8so3920722bwz.3 for ; Tue, 06 Apr 2010 08:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:cc:content-type; bh=yp2O2tcXIl7q9tlXPWkIl5aGBbFdIknOvNd6Y5yfK0k=; b=uOg42EU8uzIpiE/emAdRHXubEYwqkcpf+/akBAB0+foiCi9fVp40JA13Nw/s8LXq88 +5mwvM1d8RpXKTGk1/+0NcD7uGJuql9/pkB934mOy1yVqen/hjnhcEZvSK+V/jei1Mrf inWUtQnZm2oiCivhc8ELsKNbiTtMKxADcm0jQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=QhYgBcP0RSQv4+DDaMJHHClsnlpVn4pj9Mc9z3KIjw4zXEWpyuFiF7MRqOu0Pl4Q3K B9Xxxa7cLf2/An+qUJFYYe4Way9P3TxJRrdhaBEUO4CODSmtYFsyWgoaNM+NWY5SwhEI UfXZ4CgG5NpbMolwSSW8w7jXX8/VRNTpZ10yU= MIME-Version: 1.0 Received: by 10.204.101.6 with HTTP; Tue, 6 Apr 2010 07:59:59 -0700 (PDT) In-Reply-To: <4BBB009102000025000304D3@gw.wicourts.gov> References: <4BB774D4.3070306@joeconway.com> <4BBA05E80200002500030493@gw.wicourts.gov> <4BBA6924.5050305@joeconway.com> <4BBB009102000025000304D3@gw.wicourts.gov> Date: Tue, 6 Apr 2010 17:59:59 +0300 Received: by 10.204.23.6 with SMTP id p6mt3076785bkb.67.1270566000123; Tue, 06 Apr 2010 08:00:00 -0700 (PDT) Message-ID: Subject: Re: Database level encryption From: Timothy Madden Cc: Scott Marlowe , Joe Conway , pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.552 tagged_above=-10 required=5 tests=BAYES_20=-0.74, MISSING_HEADERS=1.292 X-Spam-Level: X-Archive-Number: 201004/43 X-Sequence-Number: 34137 The machine does not have internet and it will not be trivial for the bad guy to install anything there. And my idea is exactly that the database is inaccessible, even if the server starts. Unless the password is provided upon connecting or selecting the database. You can think of it as if all columns in all tables are ecrypted (although I would like even the number and names of tables and schema-objects to be encrypted). On Tue, Apr 6, 2010 at 5:36 PM, Kevin Grittner wrote: > Timothy Madden wrote: > >> With an encrypted database, you need the password anytime you >> connect, even if another application already has an open >> connection. > > How is the database server supposed to start up and become ready to > accept connections without reading the database? > > Also, as previously mentioned, if a bad guy gets hold of the machine > while running, what prevents them from installing a daemon to record > and transmit keystrokes after they copy the encrypted data? > > Perhaps an encrypted drive for the database data combined with an > aggressive lockup policy for an idle machine would work? > > -Kevin >