Implement secure login (authentication) in WPF Application

Last Reply 3 months ago By dharmendr

Posted 3 months ago

Hello everyone,

How to secure program to ONLY Authorized Users in C# in WPF application

I have a C# WPF program that I built. I would like to lock it down so only certain people will be able to use this program. What do you think would be the best way to do this?

I was thinking of 2 different options that would work but I am not sure I need the community to advise me in the correct direction.

  1. Have a product key either build my own or find an open source one that I can use on the program and set it up with a database so only people with a valid key will have access to the program.
  2. Have a login page and make the user login and only valid users will be able to use the program.

What do you all think? What would you do and use in this situation?

Thank you,

Andrew

You are viewing reply posted by: dharmendr 3 months ago.