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

x
?
Solved

How to be able to use Windows domain login to authenticate ASP.net website?

Posted on 2013-11-05
4
Medium Priority
?
303 Views
Last Modified: 2013-11-16
I am using Basic authentication to validate when User tries to access ASP.Net website. It works great, they just have to enter their Windows domain user name and password and I don’t have to maintain them in tables. But I want to be able to use this Basic authentication in the form of a Login page instead of the popup from the IIS. How do I use Login form but still be having the user be able to use their Windows domain user name and password. It would be helpful if I can the implementation in detail.
Thanks
0
Comment
Question by:Raj_donet
  • 2
4 Comments
 
LVL 15

Expert Comment

by:pateljitu
ID: 39628399
Please take a look at this article, this is using "forms" authentication and System.Runtime.InteropServices for COM support using advapi32.dll [logonuser]:

http://www.codeproject.com/Articles/37558/Windows-Authentication-Using-Form-Authentication
0
 
LVL 12

Expert Comment

by:deanvanrooyen
ID: 39632149
http://support.microsoft.com/kb/316748
http://msdn.microsoft.com/en-us/library/ff650308.aspx older

based on they type of question you are asking I wouldn't touch interop

the assumption here is that this is an internal domain?
0
 

Accepted Solution

by:
Raj_donet earned 0 total points
ID: 39639438
Thanks for all your suugestion but I don't want to use Forms.
http://maftahur.wordpress.com/2012/07/08/basic-iis-authentication-using-netc/
This worked for me.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how the fundamental information of how to create a table.

971 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