Solved

How to build-in autorisation in a Winform Application?

Posted on 2009-04-04
2
519 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 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Simple Linear Regression
Progress

695 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