exposing DBAPI like that would probably not involve much from SA.  youd
create an object that acts like the DBAPI module, but you override the
"connect" function to call the fixed username/pw, look up the given
username/pw in your users table, then return the connection.  all other
attribute access for that object proxies to the DBAPI module.

however, this is not terribly secure...since python is wide open, a
user could easily look inside your DBAPI module and just locate the
username/password.  unless you were going to build a proxy server of
some kind (a much bigger job).


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to