Solved

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

Posted on 2013-11-05
4
298 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
[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
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

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

617 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