[Zope-DB] connecting with user passwords
tom.deprez at uz.kuleuven.ac.be
Wed Dec 3 03:59:35 EST 2003
At 20:09 02/12/2003 +0100, Dieter Maurer wrote:
>Tom Deprez wrote at 2003-12-2 14:21 +0100:
> > At the moment I've a connection to a Sybase database with a specific
> > login/password.
> > This means that all users use this login when modifiying the database.
> > I've already made it possible that the users login in through LDAP. Now I
> > would like that each user his/her own login/password is used for de
> > database connection.
> > Is this possible? And if so, how to proceed?
>Zope DA's do not support this.
>If your database allows to switch users in an existing connection
>(few do), then it is quite a simple modification in the DA.
>If not, a new connection must be opened when the user changes.
>If opening a connection is expensive (this is often the case),
>you may need to pay a price for your special wish.
Opening is not so expensive and it is for security reasons better in our
Mmm, how would you do this ie opening a new connection when the user changes?
What happens if different users are connecting?
>Zope-DB mailing list
>Zope-DB at zope.org
More information about the Zope-DB