Trying to avoid using the IIS Security. What I have is a web form that prompts for a username / password. I then want to take that information and validate it to the NT Domain and the SQL Database I keep my Users set up in. If they validate in the SQL Server they then have certain access to specific sites. If they validate to NT they have access to misc. other network resources. My problem is the validation from NT.
are you saying you are saving the NT login and PWD in the DB???how will you get the NT pwd???<BR><BR>You CANNOT validate with NT...you have to let NT do it for you...you can ofcourse validate with UID and PWD which you store in the Db as choosed by the user BUT ther is NO WAY you can get a users NT password and store it in the Db UNLESS he gives it to you......and if later he changes the pwd your Db will have the OLD pwd<BR><BR>ok i think i an talking about something entirely different from what you are asking
No No No. I have a database of users. Some of these users have User accounts in NT that are set up Identically account wise. I need to know how to log the user into the NT account from a webform without using IIS Security (the annoying popup prompt) unless it can be done via code. Basically what I have is an intranet application where the user has to login to the intranet (Auth from SQL) and/or NT to use network resources such as our proxy services or shared network storage, etc...
looks like you ahve set up Basic Authentication for the project...you neet ot uncheck that in the project properties and set it to NT authentication...then you will NOT get a popup window BUT it will take the loign name from NT (u can get the loing name using request.servervariables)
Still not quite right. The NT Challenge will only work if the user id logged into the domain. No one logs into the domain by default. This is the reason we are trying to get NT Auth. from a web form. But I think we have decided not to worry about this step for a while, due to complexity and resource restraints. Thanks for all the help though.<BR><BR>Kris