Reputation: 497
I creating a website using asp. I want the security will be like this, person1 can access page1, page2, and page3 while person2 can access the page2 and page3 then person3 can access the page4 and page3. Is this possible? and how?
Upvotes: 0
Views: 21
Reputation: 36
You can achive it in two ways :
Steps to follow:
Once created create page for creating role for segments of pages
create page for adding user to role
on your master page after login, check user accessibility and make navigation bar visible of false and make a global class with page accessibility (you can use property for setting that up )
on page load of each page check accessibility and do what you want
When we create large application it have segments of work related to each other of different pages We create segments (steps to follows as one unit ) Save that segment in database with linking of module
Upvotes: 1