Login - windows-integrated?
-
Hi, I am working on the login user control, and I would like to know: Is there any possibility to use some Windows-integrated login control (for ex. when I want to log to ftp server, the login dialog appears). Although I don't want to use Windows integrated login, I want to build my own registration to sql db, the only thing I want is not to use two textboxes (username, password) on all pages but only one link (Log in) to this dialog. If there's no possibility of Win-integrated login, how can I write this dialog by myself?
-
Hi, I am working on the login user control, and I would like to know: Is there any possibility to use some Windows-integrated login control (for ex. when I want to log to ftp server, the login dialog appears). Although I don't want to use Windows integrated login, I want to build my own registration to sql db, the only thing I want is not to use two textboxes (username, password) on all pages but only one link (Log in) to this dialog. If there's no possibility of Win-integrated login, how can I write this dialog by myself?
Windows Integrated login requires that the are windows accounts for the people logging in. It should be handled automatically for you if the user is browsing from within the same domain as the server. Out side that a login popup box will appear. If you want to build your own SQL Registration database you should be looking at Forms Authentication because it will permit you to authenticate a user against a custom built database. The following article from MSDN should get you going in the right direction Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication: How To: Use Forms Authentication with SQL Server 2000[^]
"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 Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!