From: Tom Lane <tgl@sss.pgh.pa.us>
To: randygrolemund@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14828: Security isn't working
Date: Mon, 25 Sep 2017 13:36:06 -0400
Message-ID: <19762.1506360966@sss.pgh.pa.us> (raw)
In-Reply-To: <20170925172125.1450.68271@wrigleys.postgresql.org>
References: <20170925172125.1450.68271@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
randygrolemund@gmail.com writes:
> Another team member created a new db, and did not assign any users
> permission to that db. It appears at least one of the users (no super user
> permissions) can read and write to that db. It doesn't make any sense how
> this is working.
Well, as noted in the GRANT reference page, the default for a new database
is to grant CONNECT privilege to PUBLIC; if you don't like that you need
to revoke it, or (usually less desirable) use pg_hba.conf rules to
restrict access. Depending on how much you want to lock down access,
you might also want to revoke TEMP privilege and/or remove or restrict
the "public" schema within that database.
If none of those are the problem then you need to provide considerably
more detail. But so far I see nothing here that sounds like it's not
operating as designed.
https://www.postgresql.org/docs/current/static/bug-reporting.html
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, randygrolemund@gmail.com
Subject: Re: BUG #14828: Security isn't working
In-Reply-To: <19762.1506360966@sss.pgh.pa.us>
References: <20170925172125.1450.68271@wrigleys.postgresql.org> <19762.1506360966@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox