Subject | Login Dialog ROLES how to use ROLES |
---|---|
Author | wayne |
Post date | 2002-11-14T19:43:47Z |
I have to control access to various parts of my program.
How does one do this.
Could one use ROLES / USER / PASSWORD logins to
restrict access.
What will happen if a USER logs in with a ROLE that is not assigened to the
user.
I would think that roles are the way to accomplish this.
Most of the Buttons in my applciation is controled via an ActionList so base
apon the ROLE I could disable/enable the appropriate Actions.
Is this required since an Exception will be thrown if you try to access
things
that are not allowed.
I have added the IBSecurity service to my application,
dreadfull since it is slow, but never the less I now have an Admin Module
that can add and delete users. and Assign a ROLE to a USER.
I am YET to discover how one can determine the ROLE that is assigned to a
USER.
Any insight links documents .. ANY help is appreciated.. I am unable to find
any information in my delphi books or
on the web.
Thanking you
Wayne Forrest
How does one do this.
Could one use ROLES / USER / PASSWORD logins to
restrict access.
What will happen if a USER logs in with a ROLE that is not assigened to the
user.
I would think that roles are the way to accomplish this.
Most of the Buttons in my applciation is controled via an ActionList so base
apon the ROLE I could disable/enable the appropriate Actions.
Is this required since an Exception will be thrown if you try to access
things
that are not allowed.
I have added the IBSecurity service to my application,
dreadfull since it is slow, but never the less I now have an Admin Module
that can add and delete users. and Assign a ROLE to a USER.
I am YET to discover how one can determine the ROLE that is assigned to a
USER.
Any insight links documents .. ANY help is appreciated.. I am unable to find
any information in my delphi books or
on the web.
Thanking you
Wayne Forrest