Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VG8IZ-0002N3-37 for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Sep 2013 14:06:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VG8IY-0001ha-Fg for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Sep 2013 14:06:38 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VG8IX-0001hR-Ai for pgsql-hackers@postgresql.org; Sun, 01 Sep 2013 14:06:37 +0000 Received: from moutng.kundenserver.de ([212.227.17.10]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VG8IU-0001Pr-BY for pgsql-hackers@postgresql.org; Sun, 01 Sep 2013 14:06:36 +0000 Received: from anarazel.de (p5DDC62C4.dip0.t-ipconnect.de [93.220.98.196]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0LoZ6A-1VvWnJ3yaA-00gUUP; Sun, 01 Sep 2013 16:06:28 +0200 Received: by anarazel.de (Postfix, from userid 1000) id 29ECF1002FD; Sun, 1 Sep 2013 16:06:27 +0200 (CEST) Date: Sun, 1 Sep 2013 16:06:27 +0200 From: Andres Freund To: Heikki Linnakangas Cc: Josh Berkus , Tom Lane , Stephen Frost , Kohei KaiGai , "ktm@rice.edu" , Alexander Korotkov , Oleg Bartunov , Greg Smith , PgHacker Subject: Re: [v9.4] row level security Message-ID: <20130901140627.GA21721@awork2.anarazel.de> References: <521F7DFB.8060602@agliodbs.com> <5220D832.7090104@agliodbs.com> <20130830192729.GO2706@tamriel.snowman.net> <16798.1377891794@sss.pgh.pa.us> <5220F928.7040503@agliodbs.com> <5223436B.1070406@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5223436B.1070406@vmware.com> X-Provags-ID: V02:K0:Ewq30EIrHsqGvu6QrSn8qOJfqMFrxbx4e7Ncvo0j5xu YxHVtKe/gGR8UFmEMiT0pxcxRdB8wEJwKQwUXbiIeKH1pFEIZP p5KBQwkEisjosb/x+bfFcLqejpwITBBi3qKOFZyKlZIfaAuxtC cVQ6vw+4YUIyCeu5HX8YPkPs2auyr+FpBYEC217IsvqDaSPhto c87nhR9AmgSQwY7vv+45t6JQCqUChG3KaHi6MCQCBOsj0D3XE6 1h+MgOqTeeHsUBhPreEPh8cul2sXOsIs8YrcP6nr22TvoegbPK D1GKIg1E3TRtQBVwdOlr5bpPcqa3lWPh1XvWVvY9suoh5+H9DX Tuvyf2ZcKkwq5FBKd5q4xGZT2sfk3sOOSgLvOMAKL X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2013-09-01 16:38:51 +0300, Heikki Linnakangas wrote: > On 30.08.2013 22:57, Josh Berkus wrote: > >Right now, the primary tool for doing row filtering for MTA is Veil, > >which has numerous and well-known limitations. If RLS has fewer > >limitations, or is easier to deploy, maintain, and/or understand, then > >it's a valuable feature for that user base, even if it doesn't address > >the covert channels we've brought up at all. > > > >That is, if RLS is your*second* level of defense, instead of your > >primary defense, covert channels are not a make-or-break issue. It just > >has to be better than what we had before. > > > >Note that I have NOT done an evaluation of Veil vs. RLS for MTA at this > >point. I'm hoping someone else will ;-) > > I'd also like to hear how Veil differs from RLS. From what I've understood > this far, they are the same in terms of what you can and cannot do. > > To phrase it differently: We already have RLS. It's shipped as an extension > called Veil. Now please explain what's wrong with that statement, if > anything. I don't think veil really is an argument for much in this discussion. I don't know who in this discussion has used it, I have. Admittedly a good bit ago, 8.2, 8.3 days I think. There hasn't been much fundamental development since though, if my quick look is right. Veil gives you a rather low level toolbox for developing an RLS and you're left with a *huge* amount of work needed ontop. It basically gives you a bunch of new datatypes (sets, bitmaps, ranges) and provides some support for sharing variables across backends (shared memory). That's nearly it. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers