pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Is postgres_fdw "safe"?
Date: Fri, 20 Oct 2023 12:37:29 -0400
Message-ID: <3891974.1697819849@sss.pgh.pa.us> (raw)
In-Reply-To: <87zg0d1yu2.fsf@mbork.pl>
References: <87zg0d1yu2.fsf@mbork.pl>

Marcin Borkowski <mbork@mbork.pl> writes:
> I noticed that the docs for postgres_fdw lack the clause about it being
> "trusted".  Does that mean that `create extension postgres_fdw` poses
> any known security risks?  If so, what should I do to minimize them?

It's a definitional question I guess.  We don't mark anything trusted
if it can be used to cause outside-the-database effects; and in this
case the ability to connect to other databases qualifies as that.

			regards, tom lane





view thread (4+ messages)

Message-ID: <3891974.1697819849@sss.pgh.pa.us>
Permalink:  ../3891974.1697819849@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3891974.1697819849@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, mbork@mbork.pl
  Subject: Re: Is postgres_fdw "safe"?
  In-Reply-To: <3891974.1697819849@sss.pgh.pa.us>
  References: <87zg0d1yu2.fsf@mbork.pl> <3891974.1697819849@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