Security and performance - Mailing list pgsql-general

From pgsql@itsbruce.uklinux.net
Subject Security and performance
Date
Msg-id 20010502221014.A11543@knossos.bruce
Whole thread Raw
Responses Re: Security and performance  (Joel Burton <jburton@scw.org>)
List pgsql-general
I'm writing the database backend to a web application.  Being paranoid I
want to limit the damage/exposure that the application can do.

One way would be to create a database user for each application user
(i.e. login name) and to create views for each user, not giving them any
permissions on sensitive tables but only letting them see their own data
through the views.  How would that affect the database as the number of
users climbs through the hundreds to the thousands?  Would the thousands
of views slow the database down?  Is there an upper limit to the number
of views?

--
Bruce

Bitterly it mathinketh me, that I spent mine wholle lyf in the lists
against the ignorant.
        -- Roger Bacon, "Doctor Mirabilis"

pgsql-general by date:

Previous
From: "Albertson, Chris"
Date:
Subject: RE: Ideal hardware configuration for pgsql
Next
From: "Christian Marschalek"
Date:
Subject: Strange SERIAL / Sequence error