From: | Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
---|---|
To: | Markus Schaber <schabi(at)logix-tt(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org, <pgsql-admin(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org>, <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: [JDBC] Thoughts on a Isolation/Security problem. |
Date: | 2006-04-18 11:26:14 |
Message-ID: | Pine.LNX.4.44.0604181413330.24984-100000@matrix.gatewaynet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-jdbc pgsql-sql |
O Markus Schaber έγραψε στις Apr 18, 2006 :
> Hi, Achilleus,
>
> Achilleus Mantzios wrote:
>
> > Now i am thinking of restructuring the whole architecture as:
> > - Create one EAR app for every mgmt company
> > - Create one DB USER for every mgmg company
> > - Create one SCHEMA (same as the USER) for every mgmt company
> > (mgmtcompany1,mgmtcompany2,etc...)
>
> We're doing a very similar thing here for one of our legacy apps, which
> luckily does not know anything about schemas, and so the search_path
> trick does work.
>
> However, for most "global" tables we have views with insert/update/
> delete rules in the specific schemas, and such shield the application
> from directly accessing the global data. We even need to mere local and
> global data this way in some cases.
>
> It is ugly, but it works fine and is manageable.
If no exotic/contrib code is to be used then i think
splitting into separate Schemas (versus separate DBs) will make future
consolidation/stats/accounting (global data) code easy to write.
(Unless ofcourse some real cross-db sql join features appear which is not
the case at the moment).
Why do you think its ugly after all?
>
> HTH,
> Markus
>
--
-Achilleus
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleus Mantzios | 2006-04-18 11:32:40 | Re: [SQL] Thoughts on a Isolation/Security problem. |
Previous Message | Achilleus Mantzios | 2006-04-18 10:44:34 | Thoughts on a Isolation/Security problem. |
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleus Mantzios | 2006-04-18 11:32:40 | Re: [SQL] Thoughts on a Isolation/Security problem. |
Previous Message | Achilleus Mantzios | 2006-04-18 10:44:34 | Thoughts on a Isolation/Security problem. |
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleus Mantzios | 2006-04-18 11:32:40 | Re: [SQL] Thoughts on a Isolation/Security problem. |
Previous Message | Markus Schaber | 2006-04-18 11:00:30 | Re: connection reset error, followed by broken pipe (pg74.213.jdbc3.jar) |
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleus Mantzios | 2006-04-18 11:32:40 | Re: [SQL] Thoughts on a Isolation/Security problem. |
Previous Message | Achilleus Mantzios | 2006-04-18 10:44:34 | Thoughts on a Isolation/Security problem. |