Solved

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

Posted on 2013-11-05
4
281 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MS SQL Bulk load data error 5 30
MS SQL 2014 get SPIDs of users 6 25
SQL 2016 Setup - Connectivity Issues 4 10
Azure SQL DB? 3 11
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

763 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

6 Experts available now in Live!

Get 1:1 Help Now