Solved

How to build-in autorisation in a Winform Application?

Posted on 2009-04-04
2
504 Views
Last Modified: 2013-11-26
Hello,

Can somebody tell me more over adding User right to a Winform Application in vb.net?

Some users may open a form/report and somebody not. I'll add some right in a table in my database.

Hope somebody can HELP me!.
0
Comment
Question by:prinsbj
2 Comments
 
LVL 7

Accepted Solution

by:
garethh86 earned 500 total points
ID: 24069810
You could use windows authentication:

http://www.codeproject.com/KB/miscctrl/Application_Login.aspx

Or:

You would need to create some sort of user login for the application.

Store the usernames/passwords in your database and set the first screen of your app to ask for this information, check it and then continue on loading the rest of the app if this is ok.

You would then need to add some sort of privalage system to each part of your app that you want to restrict access to.

Its not a monumental task but it can take a while to get right.
0
 

Author Closing Comment

by:prinsbj
ID: 31566585
This was were I'm looking for? THANKS
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question