• Revista PROGRAMAR: Já está disponível a edição #53 da revista programar. Faz já o download aqui!


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

1 post in this topic



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:




Share this post

Link to post
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