Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Help with hosting multiple versions of the same schema (1 per client)
Hi All.
I have a problem that I need some help/advice on how to manage it. I have scoured the forums here but only found bits and pieces of what I'm trying to do.
Basically I have a small application that I am hosting the database for. As each client comes online I need to create a schema for them. I have written the application so that it does not reference the schema name (assumes ownership or public/private schema). If you log in as the owner then everything is fine. However I am at the point now that I would like to start overhauling the security so that I can support and manage the different users logging in. I currently have after update triggers on all tables that sets the user_id/timestamp for auditing issues.
I have a few different scenarios that I need to be able to support as far as clientele.
I also have two versions of my software, client/server and an under development distributed/web-based. I need a single solution that works best across both platforms
Anyhow I have been warned that creating private synonyms will become a nightmare once there are lots of users. I also don't want to log in as the schema owner as that too will become very difficult to manage security/rights (especially on a web based system).
I also need a solution that is simple to manage and will fit with the 'generic' client that hosts their own database.
These are the solutions I see right now:
In my perfect world I think I would want to be able to point roles at certain schemas. But Oracle doesn't seem to support that. Then I could have companyOneReadOnly = company1schema + all the read-only privileges.
Anyhow any help is greatly appreciated.
Thanks
jack Received on Sun Dec 19 2004 - 12:03:58 CST
![]() |
![]() |