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 963729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:42:57+00:00 2026-05-16T01:42:57+00:00

I would need to write an Authentication Module for IIS7 that behaves exactly like

  • 0

I would need to write an Authentication Module for IIS7 that behaves exactly like NTLM, but does some extra checking. The Module does NTLM against Active Directory (so that the module knows if the user is OK) and then needs to call another service to finally verify access.

I have to do this in an Authentication Module because the actual content on the IIS WebSite is served through a custom IIS Module that’s a Black Box to me and I can’t modify the client since that’s also a Black Box. Also, I cannot use Windows Security Groups as the service I need to call has it’s own User Database.

I found this article about writing a custom Authentication provider, but I don’t really know how I can verify the user against Active Directory/Windows.

Does anyone have some hints how I could implement NTLM? Doesn’t have to be IIS Centric, my problem is more “What do I get from the Client’s Browser and how do I verify it”?

  • 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-16T01:42:57+00:00Added an answer on May 16, 2026 at 1:42 am

    What you are describing does not sound like an Authentication Provider, it sounds like you want to write an Authorization Provider.
    For that I would handle the AuthorizeRequest and use the HttpContext.User that will already have a valid Windows Authentication token (assuming you enabled windows authentication).
    At that point you can use IsUserInRole and other APIs to get additional data from ActiveDirectory or use System.DirectoryServices to get additional data. Just make sure that you do some caching since going to AD for every single request might be a performance issue. At least IIS will handle the Windows Auth for you which does have a cache.

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

Sidebar

Related Questions

I need to write the code that would format the value according to the
I'm planning to write gateway web application, which would need terminal window with VT100/ANSI
I need to write a simple command-line application in Java. It would be nice
I would need some basic vector mathematics constructs in an application. Dot product, cross
Does anyone know what would be the minimum rights I would need to grant
(please excuse that I didn't use aliases). I would like my query output to
I would need to create a temp table for paging purposes. I would be
What regex pattern would need I to pass to java.lang.String.split() to split a String
I'm working on a tool which would need to communitacte: send and recieve files
There may be situations where I would need to find an object by parameters

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.