Solved

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

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

Author Closing Comment

by:Raj_donet
ID: 39653030
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

839 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