Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows Authentication in ASP.Net 2.0 (Visual Web Developer 2005 Express Edition)

Posted on 2009-07-04
5
Medium Priority
?
359 Views
Last Modified: 2013-12-24
Hello All,

  I started building an AJAX enabled application with AJAX Tab Control. In that tab control we are having two tabs :
1. PaySlip
2. Medical Information and some tabs I need to add in future...

Here My requirement is I need to implement a Windows based Authentication to this application.
I want to provide Sign In Button in the Tab control Page.

AnywayI will explain my logic here by step by step.

1. When a person click the Sign In button they need to get login Window (If They are not in Domain), All the domain Users need to sign in automatically.
My Doubt Is : How can give the login to Windows authentication if I click Sign In Button ??

2. Once login is correct then I need to capture the username.
My Doubt : How Can Capture the Username which is provided by the user ??

3. Then after capturing the username, I need to connect to my Oracle database to compare this username with e-mail id which is there in Oracle database table.
4. After That I need to display the data as per the username.

As per my knowledge we can set Windows Authentication directly from IIS. But I need to Assign the Windows Login Prompt to Sign In Button.....

Please help regarding this issue.

Thanks,
Rao.
0
Comment
  • 3
5 Comments
 
LVL 1

Assisted Solution

by:VijayprakashM
VijayprakashM earned 400 total points
ID: 24776383
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24776438
Hi,
I had seen lots of materials in the net. But not having correct information to me.
And one more thing actually I asked this question in our EE. But those guys are also passed the URL's.
I'm need of Practically experience person suggestion. Thats why only I expalined my problem in detailed.
So please share your thoughts if you already have an idea about my situation.
Anyway thanks for the link.
Thanks.
0
 
LVL 13

Accepted Solution

by:
PillalamarriVenkateswaraRao earned 0 total points
ID: 24776735
Hai VijayprakashM,
 The below blog had given Basic idea on how to do Windows Authentication and how to get the username after logging is completed.
Thanks to scott.
http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx 
And I need to find more in this area. I will post some more information after completion of my task.
Please check it once and Share your ideas on that blog and post your suggestions also.
Thanks.
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24782754
Hai VijayprakashM,
I want to place a Sing -In Button in my web page, So that a person click that sign in button then he need to authenticate with Windows.  And I need an option that Sign with another User.
How can I accomplish this behaviour ??
Please suggest me.
Thanks.
0
 
LVL 7

Assisted Solution

by:Seo_Expert
Seo_Expert earned 400 total points
ID: 24782898
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

783 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