Solved

How to build-in autorisation in a Winform Application?

Posted on 2009-04-04
2
491 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
Comment Utility
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
Comment Utility
This was were I'm looking for? THANKS
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
recursion example 16 66
Duplicate a row 2 29
How can I use this extension method? 8 35
Base1 Encode/Decode 3 21
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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 …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now