Controlling Division Access in Corporate Consolodated db
From: Jim Shaw (jeshaw2_at_comcast.net.work)
Date: 01/05/05
- Next message: Uri Dimant: "Re: Application Role"
- Previous message: Marius Horak: "Login failes for user 'sa'"
- Next in thread: Uri Dimant: "Re: Controlling Division Access in Corporate Consolodated db"
- Reply: Uri Dimant: "Re: Controlling Division Access in Corporate Consolodated db"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 5 Jan 2005 08:54:05 -0500
BlankI'm designing a corporate level database which holds information for
each of the corporation's operating divisions. Divisions are dynamic, in
that they added and deleted to the corporate structure frequently. Also,
employees are moved from one division to another frequently. The roles that
employees perform are standardized across the entire corporation. The data
algorithms & structure is also set by corporate policy. Each division is
uniquely identified by a 3-digit "FacilityID" code.
In all the db tables, views, functions, etc., I need to restrict a user's
privileges to the rows of data that relate to the division in which they are
currently employed. Corporate users should have privileges across all of
the multiple divisions data.
Is there a "best Practices" established to implement this type of security?
I'm thinking of using views to define the role's access to data tables and
columns. Then using Select statements to access the view with a WHERE
clause to specify the FacilityID. Can this be done in SQL 2000?
I Would like to avoid the need for separate Select statements for corporate
and division users.
I also want to avoid different hard coded views for each division...there
are over 200 them. I'm thinking about dynamically generated queries/SELECT
statements (like what can be done in Access 2000)?
Thanks
Jim
- Next message: Uri Dimant: "Re: Application Role"
- Previous message: Marius Horak: "Login failes for user 'sa'"
- Next in thread: Uri Dimant: "Re: Controlling Division Access in Corporate Consolodated db"
- Reply: Uri Dimant: "Re: Controlling Division Access in Corporate Consolodated db"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|