pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: auxsvr <auxsvr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Shared hosting with FDW on AWS RDS
Date: Mon, 11 Feb 2019 00:57:23 +0200
Message-ID: <4776368.YtMxgcCULL@localhost.localdomain> (raw)

Hi,

We'd like to configure an RDS server for shared hosting. The idea is that every customer will be using a different database and FDW will be configured, so that the remote tables have access to the full data, but materialized views will be pulling from them data specific to each customer. So far, everything seems to work fine and be secure, as we've revoked access to the remote tables for the customer users, but I'm feeling a bit uneasy considering that the credentials for full access are stored in each database. My understanding is that remote user mapping is designed so that this will not be an issue, but I was wondering if access to the metadata schema might allow to circumvent this restriction. Also, I was wondering if someone has experience hardening databases on RDS, as the so called superuser does not have the right to revoke access from the metadata schema.

Comments and suggestions are welcome.
-- 
Regards,
Peter






view thread (4+ messages)  latest in thread

Message-ID: <4776368.YtMxgcCULL@localhost.localdomain>
Permalink:  ../4776368.YtMxgcCULL@localhost.localdomain/
Also on:    postgresql.org/message-id/4776368.YtMxgcCULL@localhost.localdomain

 · 

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: auxsvr@gmail.com
  Subject: Re: Shared hosting with FDW on AWS RDS
  In-Reply-To: <4776368.YtMxgcCULL@localhost.localdomain>
  References: <4776368.YtMxgcCULL@localhost.localdomain>

* 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