Solved

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

Posted on 2009-07-04
5
350 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 100 total points
Comment Utility
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
Comment Utility
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
Comment Utility
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
Comment Utility
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 100 total points
Comment Utility
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

743 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

13 Experts available now in Live!

Get 1:1 Help Now