pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jamie Lawrence <postgres@jal.org>
To: Naomi Walker <nwalker@eldocomp.com>
Cc: pgsql-admin@postgresql.org
Subject: Security, proxies, etc. (was: Re: performance problem - 10.000 databases)
Date: Fri, 31 Oct 2003 17:28:31 -0500
Message-ID: <20031031222831.GB18990@clueinc.net> (raw)
In-Reply-To: <5.1.0.14.2.20031031095410.03a0ed98@imap.eldocomp.com>
References: <5.1.0.14.2.20031031095410.03a0ed98@imap.eldocomp.com>

On Fri, 31 Oct 2003, Naomi Walker wrote:

> We have a similar issue regarding security.  Some of the access to our 
> database will be by ODBC connections for reporting purposes (ie. Actuate 
> Report/Crystal Reports).  Without creating a zillion or so views (which I 
> suspect carries with it alot of overhead), I believe it would be tricky to 
> maintain security.
> 
> Our application is medical related, and we are bound by HIPAA rules, so 
> security is most important.  How would you architect this scenario so our 
> ASP customers cannot see each others data?
> 
> Naomi

Can you not assign each role/user a different username? If not, I suspect 
views are your best bet, although I'm sure others can come up
with other approaches. The overhead for a view is, as I understand it, no
more than the overhead for the underlying query. So, for instance, if
you're omitting columns or using a WHERE clause to pick out data for a
particular user, you're probably not doing anything that the front end
application wouldn't do, anyway. Setting them up if a different story,
but depending on HIPAA rules, writing a generator for that might not be
too bad.

ODBC doesn't have a layer of application sitting between the user and
the database. I've seen proxies for ODBC which you may be able to
customize - check freshmeat.net. I've never had to deal with HIPAA
rules, so I'm not sure what requirements you have to merge with the
requirements for using, say, Crystal Reports, so I'm not sure if this
would work or not (and it would take some coding in either case).

HTH,

-j


-- 
Jamie Lawrence                                        jal@jal.org
It it ain't broke, let me have a shot at it.





Message-ID: <20031031222831.GB18990@clueinc.net>
Permalink:  ../20031031222831.GB18990@clueinc.net/
Also on:    postgresql.org/message-id/20031031222831.GB18990@clueinc.net

 · 

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-admin@postgresql.org
  Cc: postgres@jal.org, nwalker@eldocomp.com
  Subject: Re: Security, proxies, etc. (was: Re: performance problem - 10.000 databases)
  In-Reply-To: <20031031222831.GB18990@clueinc.net>
  References: <5.1.0.14.2.20031031095410.03a0ed98@imap.eldocomp.com> <20031031222831.GB18990@clueinc.net>

* 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