ASP.NET - UserType-wise page access

后端 未结 3 523
夕颜
夕颜 2021-01-26 11:03

Suppose I have 3 kinds of users and their accessible pages in my ASP.net application are as follows:

(1) User Type-A {Default.aspx, a.aspx, b.aspx and c.aspx},

         


        
相关标签:
3条回答
  • 2021-01-26 11:12

    We have a similar requirement, and make use of the Patterns and Practices Web Client Software Factory. Basically it assists you in creating modules, and allowing you to specify per-page access levels in config based on Role / User details.

    0 讨论(0)
  • 2021-01-26 11:13

    Role management in asp.net may help you in this case. Please check this article. You may have to customize this as per your specific requirement. Hope this helps.

    Role Manager in ASP.NET

    Each of User-Type will be associated with Roles.

    0 讨论(0)
  • 2021-01-26 11:33

    You might have a try to use roleship provider and web.sitemap.

    0 讨论(0)
提交回复
热议问题