|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, May 06, 2013 10:20 AM
Points: 47,
Visits: 221
|
|
The database coordinator doesn't write triggers - just filters.
For example, the coordinator in the Dean's office might want to allow Department heads in Pathology and Pediatrics to view those faculty that have appointments in both departments (all departments share the same database).
So she'd write a filter on the demographic table selecting those faculty belonging to both departments, set up a new role, assign it to that filter, and then add that role to the roles each Department head already has.
The fixed triggers do all the rest. So if someone is no longer a member of both departments, or the filter is replaced with another one that just selects recent appointments to both departments, then the two department heads will see different people when they log in again.
Only single-record changes are triggered, because only single-record changes are made by the users (eg. adding new person, changing existing address, etc.).
R Glen Cooper glencooper.tel
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
|
|
I am a little confused as using client-based code to implement any security is strictly contra-indicated in any valid security model that I know of.
For instance, what keeps your desktop users from firing up Excel or worse, Management Studio, connecting directly to your database, and bypassing this security scheme?
-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung Proactive Performance Solutions, Inc. "Performance is our middle name."
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, May 06, 2013 10:20 AM
Points: 47,
Visits: 221
|
|
The model was originally developed for a Citrix farm, where the front-end apps aren't available on anyone's desktop and where users aren't able to see behind the data entry forms.
In the deployment currently under development, users do have the apps on their desktops but only the apps (not users) may connect to the database that's on a remote server.
R Glen Cooper glencooper.tel
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
|
|
Glen Cooper (4/27/2010) ... In the deployment currently under development, users do have the apps on their desktops but only the apps (not users) may connect to the database that's on a remote server. ...
How is that accomplished?
-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung Proactive Performance Solutions, Inc. "Performance is our middle name."
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 10:40 AM
Points: 103,
Visits: 129
|
|
Glen Cooper (4/27/2010) The model was originally developed for a Citrix farm, where the front-end apps aren't available on anyone's desktop and where users aren't able to see behind the data entry forms.
In the deployment currently under development, users do have the apps on their desktops but only the apps (not users) may connect to the database that's on a remote server.
That probably would have been useful to mention in your article. It's not a typical architecture.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, May 06, 2013 10:20 AM
Points: 47,
Visits: 221
|
|
Yes, I should have been more explicit when I indicated that users may access the database through approved applications only.
R Glen Cooper glencooper.tel
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, May 06, 2013 10:20 AM
Points: 47,
Visits: 221
|
|
The app's fixed login string is not accessible to the user.
The lkpUser table checks user name/pwd which are passed by the app after the user enters a name/pwd when starting it (not part of the demo program).
R Glen Cooper glencooper.tel
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 3:07 PM
Points: 7,096,
Visits: 7,156
|
|
Glen Cooper (4/27/2010) The app's fixed login string is not accessible to the user.
The lkpUser table checks user name/pwd which are passed by the app after the user enters a name/pwd when starting it (not part of the demo program).
Means you trust your users never to run a network monitor, never to write a proxy for the tcp api, etcetera (since you've said current deployment has the apps on desktops but only the apps, not the users, are allowed to connnect). It is very easy to get a connection string! If you are going to trust the users that much, why not just trust them not to access data they are not supposed to? I imagine these users are not professional programmers, but are none of them amateur computer enthusiasts with skills that would allow them to drive cart and horses through the obvious security hole?
Tom Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 3:07 PM
Points: 7,096,
Visits: 7,156
|
|
message in wrong forum. Deleted. Sorry
Tom Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
|
|
|
|