C# windows Forms security

I wanted to show certain forms in a C# winforms projects only to users with certain access level. How do we provide security in C# winforms application?

Would it be through storing user access levels in SQL server and checking before opening each form, or are there options through app.config file like in web applications?

Thanks!
Ricky66Asked:
Who is Participating?
 
Éric MoreauSenior .Net ConsultantCommented:
I have always built my own security system in WinForms project.
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
There isn't a built in possibility so you would have to do something yourself.
You wouldn't need to use SQL server if you did not want to.  A file with read access (assuming a multi-user environment) on a network drive could store the encrypted information.
0
 
Ricky66Author Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.