Re: A (hopefully) simple question re: secure pg <=> web application access - Mailing list pgsql-general

From Martin Gainty
Subject Re: A (hopefully) simple question re: secure pg <=> web application access
Date
Msg-id BAY133-DAV17F4924CF98506189C461AE6F0@phx.gbl
Whole thread Raw
In response to A (hopefully) simple question re: secure pg <=> web application access  (Ron <rjpeace@earthlink.net>)
List pgsql-general
Ron-
If you're in the design phase and you're thinking about Which users should have access to which pages/resources (and
consequentlyDB resources)
 
The simplest mechnism is to implement a True Portal Management System based on predefined acls/roles/group and users
canthen be created will have a 'role' assigned in security-administration
 
I thoroughly recommend Jetspeed..it has been around for years and has many successful installations and works with
Cocoon/Turbine,WebMacro and Velocity..there is also a wireless component available 
 
Skins available (If you want to modify colors or display attributes)
http://portals.apache.org/jetspeed-1/
FWIW/
Martin--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is
addressedand may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you
arenot the intended recipient, you are notified that any dissemination, distribution or copying of this communication
isstrictly prohibited.
 
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire
indiquéet peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce
document,nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
 
----- Original Message ----- 
From: "Ron" <rjpeace@earthlink.net>
To: <pgsql-novice@postgresql.org>; <pgsql-general@postgresql.org>
Sent: Monday, March 26, 2007 4:31 PM
Subject: [GENERAL] A (hopefully) simple question re: secure pg <=> web application access


>I usually have a DBA available to me, but have to "wing it" this time...
> 
> I know what I =want=.  What I don't know is ?how? to do it?
> 
> I want to set up a web app to have access privileges that allow the 
> app to communicate only with certain
> a= pg stored procedures or
> b= java servlets which then talk to pg stored procedures (think 
> Apache + Tomcat but not J2EE environment with a possible Hibernate layer).
> 
> The pg stored procedures will be the only things that have the 
> privileges to actually do DB IO.
> 
> Since the web app can only talk to a restricted set of entities, and 
> I can "lock down" those entities and/or verify traffic with them to 
> my heart's content, this seems to be the best way to avoid SQL code 
> injection, processes that bootstrap their privileges, etc, etc.
> 
> 
> So how do I do this?
> Ron
>  
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: get value after updating table
Next
From: Hannes Dorbath
Date:
Subject: Re: PG over NFS