Search code examples
c#authenticationauthorizationsecurity-roles

windows forms security c#


I am developing a Windows Forms application in C#. I have created user authentication within this application, and I have to restrict access to different functionalities to users depending on their permissions.

Is there a framework that can help me with that?


Solution

  • One of many options:

    Unify Windows Forms and ASP.NET Providers for Credentials Management

    Possibly the simplest solution is to use Windows role authentication along with database schema to represent what access roles have. The precise implementation depends on your requirements.