[Zope-DB] Authenticating Oracle Users

Charlie Clark charlie at egenix.com
Tue Feb 8 15:30:21 EST 2005


On 2005-02-08 at 20:34:09 [+0100], Remy Pinsonnault 
<remypinsonnault at gmail.com> wrote:
> But one thing is to authenticate the users and another is how can I
> connect to the database with the right roles/permissions.
> 
> Do I have to create a new ODBC connection object each time a user
> connects to the site?
> 
> In fact we are trying to migrate an Oracle Developer client/server
> application to a Zope application. When you connect on Oracle
> Developer you first authenticate on the database and then you are
> granted the datbase roles (on insert/update/delete etc.).
> 
> Is it possible to do the same with Zope?

exUserFolder will certainly let you authenticate and you can probably 
extend it to do the rest as long as you don't mind playing with the Python 
code.

Charlie
-- 
Charlie Clark
eGenix.com

Professional Python Services directly from the Source
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Zope-DB mailing list