?
Solved

How to build-in autorisation in a Winform Application?

Posted on 2009-04-04
2
Medium Priority
?
530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
garethh86 earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Starting up a Project
Suggested Courses

765 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