locked
Authentication & authorization via existing database schema RRS feed

  • Question

  • User2125207779 posted

    I'm building a new ASP.net 4.5 web forms application that needs to use an existing database schema to provide authentication & authorization. The user, role and group tables are part of a legacy application's database and I must use that security model. Can someone lead me in the right direction? I can't find any documentation that discusses security when integrating with an existing database. I see plenty of examples for Active Directory and all the other option you might use if starting completely from scratch. But I can't find anything that explains how to do security with an existing database. 

    I need to figure out how to

    1. log in users 
    2. restrict access to pages based on the predefined user groups
    3. limit page functionality based on the predefined user groups

    Do I need to create my own complete Membership Provider? That seems overkill for the simple tasks listed above that I need to accomplish. All user and security maintenance is handled in the legacy application. 

    Wednesday, May 25, 2016 3:13 PM

Answers