From: Tim Clarke <tim.clarke@minerva.info>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Web users as database users?
Date: Fri, 20 Sep 2019 12:15:26 +0000
Message-ID: <f5dbb11b-c041-cea6-766f-63c223c526f2@minerva.info> (raw)
In-Reply-To: <CAPjKuyVzvojzntx2MNMWEvuP3--z_8ZzDbdYrbvNmXkqUeLfhQ@mail.gmail.com>
References: <CAPjKuyVzvojzntx2MNMWEvuP3--z_8ZzDbdYrbvNmXkqUeLfhQ@mail.gmail.com>
On 20/09/2019 12:50, David Gallagher wrote:
> Hi - I’m working on a database that will be accessed via a web app.
> I’m used to a setup where there is one account/role that the app would
> use to access the database, but in my current scenario I’m interested
> in row level security and auditing enforced by the database. In this
> scenario, would it make sense to have a user account on the database
> to mirror the user account from the web app? Is that an unusual practice?
Not at all, we're doing it
Tim Clarke
Telephone: Witham: +44(0)1376 503500 | London: +44 (0)20 3009 0853 | Frankfurt: +49 (0)69 7191 6000 | Hong Kong: +852 5803 1687 | Toronto: +1 647 503 2848
Web: https://www.manifest.co.uk/
Minerva Analytics Ltd - A Solactive Company
9 Freebournes Court | Newland Street | Witham | Essex | CM8 2BL | United Kingdom
________________________________
Copyright: This e-mail may contain confidential or legally privileged information. If you are not the named addressee you must not use or disclose such information, instead please report it to admin@minerva.info<mailto:admin@minerva.info>
Legal: Minerva Analytics is the trading name of: Minerva Analytics Ltd: Registered in England Number 11260966 & The Manifest Voting Agency Ltd: Registered in England Number 2920820 Registered Office at above address. Please Click Here https://www.manifest.co.uk/legal/ for further information.
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: tim.clarke@minerva.info
Subject: Re: Web users as database users?
In-Reply-To: <f5dbb11b-c041-cea6-766f-63c223c526f2@minerva.info>
References: <CAPjKuyVzvojzntx2MNMWEvuP3--z_8ZzDbdYrbvNmXkqUeLfhQ@mail.gmail.com> <f5dbb11b-c041-cea6-766f-63c223c526f2@minerva.info>
* 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