Solved

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

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

Author Closing Comment

by:Raj_donet
ID: 39653030
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
efficient backup report for SQL Server 13 76
Remove () 9 32
How do I "share" on social sites? 2 32
Datatable / Dates ? 4 24
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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 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.

734 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