• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Windows authentication with password re-validation in asp.net

I have a requirement to develop an asp.net site with windows authentication. So typically for such a site, if the user is logged on his machine, he should be able to access the desired information he has access to.
How ever, the requirement is to have a validation like this:
The user is presented with a form with user id and password box with user id disabled and pre filled with his/her windows account id. The user must re-enter his windows password to gain access to his site. Once the user id and password are validated against the AD then the user ID must be passed to SQL data base to check whether he is a valid user with the application. (List of valid user will be maintained in a SQL table with their windows ID and respective roles.). If validated against the SQL DB, the role information must be brought to client.
can someboby help me out of this?
1 Solution
Sounds like you need an active directory membership provider in your app.
Try this article - it helped me do something similar:

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now