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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:44:11+00:00 2026-05-24T09:44:11+00:00

I have the following scenario that i will start to develop very soon, but

  • 0

I have the following scenario that i will start to develop very soon, but im still confused what is the best way to implement the authentication in this case:

Scenario: i’am developing an intranet web application, users are authenticated through Active Directory and windows authentication but they might access it from another machine (not windows) and asked to enter the AD credentials, the roles for these users are saved in the Database we have around 2000 user so it’s very hard to add user by user to the database and then to map them into the roles. so i need your suggestion in this case what is the best approach windows authentication or mixed authentication forms authenticating from LDAP, and any idea how to map the users directly to database ??

p.s the groups are not identified correctly in the AD that’s why we will manage them in our DB.

Thanks for your help

  • 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-24T09:44:11+00:00Added an answer on May 24, 2026 at 9:44 am

    You’re going down the right path using Windows Authentication – that should handle authenticating users to your AD. As far as the database is concerned, I would recommend writing a little piece of code within your application that auto generates the user record on the back end when a user logs into the system for the first time. I’m guessing any user that authenticates against your AD is allowed in the application, which is the only way this method would work.

    There are many examples of interacting with AD via csharp, but here’s a start:

    http://www.ianatkinson.net/computing/adcsharp.htm

    Let me know if you need more help, good luck!

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

Sidebar

Related Questions

Actually I have the following scenario: I want to create an app that will
I have he following scenario: Got an HTML template file that will be used
I have the following scenario: I have a QueueReader class that will be reading
I have a scenario outline table that looks like the following: Scenario Outline: Verify
Consider following scenario: I have RESTful URL /articles that returns list of articles user
Consider the following scenario We have a simple database that involves two entities: user
Let me share the following scenario: I have a ASP.NET intranet Web-based application that
I am interested in the following scenario specifically. Suppose you have team that writes
I was wondering what is the best way or practice to implement the following:
Let's says I have a set of tables that match the following scenario: Crates

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.