Login again Window account
-
I'm new to dotnet security I'm trying to develop a login form agains Window Integration. I don't want to have a pop up window; therefore I create my own login form and redirect users to that page before they can go anywhere else. After user enters username and password, I want to check these username and password to see if they are valid. If yes, they can proceed, otherwise they have to reenter Thanks for help.
-
I'm new to dotnet security I'm trying to develop a login form agains Window Integration. I don't want to have a pop up window; therefore I create my own login form and redirect users to that page before they can go anywhere else. After user enters username and password, I want to check these username and password to see if they are valid. If yes, they can proceed, otherwise they have to reenter Thanks for help.
IIRC Windows Integrated Security is run against the current user of the browser, if their credentials don't match those at the server then a login dialog is automatically opened by IE where the user can log in. You can't re-direct this to a form as Windows is handeling it all. If it did allow redirection to a form then you as a developer could potentially syphon off peoples user names and passwords - this is not good. If you want to use a form for log-in users into your system then you will have to maintatin the security credentials (say, in a database) that can verify the user name and passwords.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!