G
Guest
Hi,
I have an ASP.NET application.
I have a serious of tabs on the default page.
Each tab is link to another ASPX Page.
Each user in my application will have a role.
Based on this I want to hide certain tabs on my default page and restrict
access to certain pages.
So for example, I may hide a tab but if a user tries to access the page by
typing in the name of the ASPX I want to check on each ASPX Page if the user
has the role required to access this page.
My Database has a table which indicates what role each user has.
(Example Roles : Basic User, Helpdesk User, Application Administrator )
What is the best way to hanlde this role based approach in my ASP.NET App?
Any advice on how to implement this would be appreciated.
Thanks.
I have an ASP.NET application.
I have a serious of tabs on the default page.
Each tab is link to another ASPX Page.
Each user in my application will have a role.
Based on this I want to hide certain tabs on my default page and restrict
access to certain pages.
So for example, I may hide a tab but if a user tries to access the page by
typing in the name of the ASPX I want to check on each ASPX Page if the user
has the role required to access this page.
My Database has a table which indicates what role each user has.
(Example Roles : Basic User, Helpdesk User, Application Administrator )
What is the best way to hanlde this role based approach in my ASP.NET App?
Any advice on how to implement this would be appreciated.
Thanks.