I am writing an application and I want to add User login and password screen before opening the application.

Where it's better to save the users and passwords (encrypt
passwords) data in Database or configuration file ?

Does anyone have implemention of User login screen in C-sharp?



Thanks in advance ...