I am trying to implement authorization and authentication in my current winforms project. Authentication must also match the user in the SQL Server 2008 database. The fact is that this is a multi-user program, so when a new user is added, a database is created and the user ID is added to the database.
I wondered if it is possible to implement IPrincipal and IIdentity. So far, I have only found ASP.NET implementations.
Can someone give me some tips on what is the best way to implement password / user security in a winforms application? Remember that it must be checked using a database in SQL Server.
A value for the database must exist for this user, and their credentials must be correct.
source
share