Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4573050
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:43:56+00:00 2026-05-21T19:43:56+00:00

Ok, I’m working on an asp.net web application to be used internally to track

  • 0

Ok, I’m working on an asp.net web application to be used internally to track where our staff goes out on campus and what they’re doing.

We currently use a system for this that uses “NoSQL” tables (which not 100% familiar anyway..) but it’s old system using cgi scripts. So I’m rewriting it in asp.net to kind-of update the system to be more modern with a modern design and adding in active directory authentication for it since it uses it’s own user database separate from AD which we use everywhere else.

I’ve found an article to enable Active Directory Authentication via web.config, however, I’d rather instead of using forms authentication, I’d like to tie this into an HTTP-Prompt for authentication. I’ve tried some Google searches to try to find a solution, but I can’t seem to find anyone out there that has done this before.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:43:56+00:00Added an answer on May 21, 2026 at 7:43 pm

    First off, if you are going to authenticate people with their domain credentials, you should make sure to use HTTPS since otherwise their passwords will be easily obtainable using a network sniffer.

    OK so what you are talking about is Windows authentication mode in ASP.NET with IIS Basic Authentication. You need to configure the following things in your web.config:

    <configuration>
      <connectionStrings>
        <add name="ADConnectionString" connectionString="LDAP://your.ad.fqdn.com/DC=com,DC=fqdn,DC=ad,DC=your"/>
      </connectionStrings>
      <system.web>
        <membership defaultProvider="ADMembershipProvider">
          <providers>
            <add name="ADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" connectionUsername="MYNTDOMAIN\someuser" connectionPassword="asdf1234"/>
          </providers>
        </membership>
        <authentication mode="Windows"/>
      </system.web>
    </configuration>
    

    Next you are going to want to configure IIS for Basic Authentication. Assuming you are running IIS 7.x, In IIS Manager find the root folder of your application, then click Authentication. You should be able to enable Basic Authentication here. You can also enable Windows Authentication to allow IE/Chrome users to log in automatically:

    Basic Authentication in IIS 7

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
Seemingly simple, but I cannot find anything relevant on the web. What is the
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Thanks in advance for your help. I have a need within an application to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.