Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to build-in autorisation in a Winform Application?

Posted on 2009-04-04
2
Medium Priority
?
538 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
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…
Introduction to Processes

618 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