Re: security label support, revised

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: security label support, revised
Дата
Msg-id
AANLkTinWiKtwCB+SJbfvyVv7raGv2TfETAMr8aDWMHe=@mail.gmail.com
Ответ на
Список
Дерево обсуждения
security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@kaigai.gr.jp>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 kaigai@kaigai.gr.jp
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@kaigai.gr.jp>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 KaiGai Kohei <kaigai@kaigai.gr.jp>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 Tom Lane <tgl@sss.pgh.pa.us>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Peter Eisentraut <peter_e@gmx.net>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 Tom Lane <tgl@sss.pgh.pa.us>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 Peter Eisentraut <peter_e@gmx.net>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 Peter Eisentraut <peter_e@gmx.net>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Stephen Frost <sfrost@snowman.net>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, part.2 Robert Haas <robertmhaas@gmail.com>
security label support, revised KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, revised KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised KaiGai Kohei <kaigai@kaigai.gr.jp>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised Stephen Frost <sfrost@snowman.net>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised Stephen Frost <sfrost@snowman.net>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised KaiGai Kohei <kaigai@ak.jp.nec.com>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised KaiGai Kohei <kaigai@kaigai.gr.jp>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised KaiGai Kohei <kaigai@kaigai.gr.jp>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised KaiGai Kohei <kaigai@kaigai.gr.jp>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised Shigeru HANADA <hanada@metrosystems.co.jp>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised Bruce Momjian <bruce@momjian.us>
Re: security label support, revised Magnus Hagander <magnus@hagander.net>
Re: security label support, revised Peter Eisentraut <peter_e@gmx.net>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised Peter Eisentraut <peter_e@gmx.net>
Re: security label support, revised Tom Lane <tgl@sss.pgh.pa.us>
Re: security label support, revised Robert Haas <robertmhaas@gmail.com>
Re: security label support, revised Gurjeet Singh <singh.gurjeet@gmail.com>
Re: security label support, revised Tom Lane <tgl@sss.pgh.pa.us>
On Sat, Sep 25, 2010 at 7:04 AM, KaiGai Kohei  wrote:
> * The "dummy_esp" module and regression test for SECURITY LABEL statement.
>  This module allows only four labels: "unclassified", "classified",
>  "secret" and "top secret". The later two labels can be set by only
>  superusers. The new regression test uses this "dummy_esp" module to
>  find out future regression in SECURITY LABEL statement.
> * A minimum description about external security provider at the tail
>  of Database Roles and Privileges  chapter.
> * Add pg_seclabels system view
> * Revising pg_dump/pg_dumpall
>  - '--security-label' was replaced by '--no-security-label'
>  - implemented according to the manner in comments.
>    findSecLabels() and collectSecLabels() are added to reduce number of
>    SQL queries, in addition to dumpSecLabel().

Thanks, this looks like mostly good stuff.  Here's a new version of
the patch with some bug fixes, additional regression tests, and other
cleanup.  I think this is about ready to commit.  I didn't adopt your
documentation and I renamed your contrib module from dummy_esp to
dummy_seclabel, but the rest I took more or less as you had it.  For
now, I don't want to use the term "external security provider" because
that's not really what this provides - it just provides labels.  I
initially thought that an external security provider would really turn
out to be a concept that was somewhat embedded in the system, but on
further reflection I don't think that's the case.  I think what we're
going to end up with is a collection of hooks that might happen to be
useful for security-related things, but not necessarily just those.
Anyway, I feel that it's a bit premature to document too much about
what this might do someday; the documentation already in the patch is
adequate to explain what it does now.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Josh Berkus
Дата:
FAQ