I'm looking for a solution where I can use ORM via a RPC calls (PyRO,
xml-rpc, ...). I'm creating a client-server application and the scenario
is:
(my client) <-> (my server) <-> (database)
where the server will be only a some kind of DB proxy. I don't want the
client programs to access the database directly but via my server and I
would like have also some access control in the server (e.g. some
clients can access only some rows in some tables...). That is for the
case that someone will reverse engineer my client-server authentication
and will get full access to the database.
I hope I didn't describe it in a very confusing way :-)
Thanks for any advice or clue.
David
I solved it by exposing connection and cursor objects via a Pyro. I
don't have any access control for individual rows in tables but it
doesn't matter for now.
But I have a different problem now. I have a simple pool on the server
side where I'm storing connections and cursors and it is growing without
closing any cursors or connections. When does the SA call .close() on
cursors or connections?
DS
iGL píše v Čt 26. 10. 2006 v 16:15 +0000:
HTH,
Giorgi