pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Charlin Barak <charlinbarak@gmail.com>
To: pgsql-general@postgresql.org >> PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: Using the public schema
Date: Tue, 24 Apr 2018 22:00:47 +0200
Message-ID: <1524600047.2271.3.camel@cybertec.at> (raw)
In-Reply-To: <CAPrg5cbcAvgYtF-budvASsqFtw2nSw+keT9wbXo+qRCKCJBUEQ@mail.gmail.com>
References: <CAPrg5cbcAvgYtF-budvASsqFtw2nSw+keT9wbXo+qRCKCJBUEQ@mail.gmail.com>

Charlin Barak wrote:

> We will be developing three new applications in PostgreSQL, each having its own
> database instance running on different hosts. We will only have one schema per
> Postgres instance. The data is read-write only by one application/schema in the
> DB instance and the data is published to other applications via API calls.
> 
> In such a standalone database configuration, are there any security implications
> or any downsides to creating the application in the public schema?

No, that's fine.

Just REVOKE CREATE ON SCHEMA public FROM PUBLIC.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




view thread (5+ messages)  latest in thread

Message-ID: <1524600047.2271.3.camel@cybertec.at>
Permalink:  ../1524600047.2271.3.camel@cybertec.at/
Also on:    postgresql.org/message-id/1524600047.2271.3.camel@cybertec.at

 · 

reply

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-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, charlinbarak@gmail.com
  Subject: Re: Using the public schema
  In-Reply-To: <1524600047.2271.3.camel@cybertec.at>
  References: <CAPrg5cbcAvgYtF-budvASsqFtw2nSw+keT9wbXo+qRCKCJBUEQ@mail.gmail.com> <1524600047.2271.3.camel@cybertec.at>

* 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