teckV Posted July 26, 2006 at 05:12 PM Report #40445 Posted July 26, 2006 at 05:12 PM ' OverviewThis article attempts to work out an example of the impersonation namespace in .NETto logon a user through a webpagewith his Windows logon credentials. The traditional way of logging in users using their Windows authentication is by enabling the Basic Authentication property of the web application in IIS. Butusing the controlwe can eliminate the necessity of controlling logon through IISand enable it through our code. This opens up a considerable area of control through code. We can hence have a control on which user login is requestedand on which domain and all that. We will discuss the creation of the project and the logic I had in mind while developing it. The completed and tested codethat was developed using VS.NET is attached to this article. artigo: http://www.codeproject.com/aspnet/ASPdotnet_LoginControl.asp código fonte: http://www.codeproject.com/aspnet/ASPdotnet_LoginControl/ASPdotnet_LoginControl_src.zip teckV
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now