Jump to content

A Windows logon, web user control implementation - in ASP.NET


Recommended Posts



This 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.



código fonte:



Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.