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


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

1 mensagem neste tópico



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:




Partilhar esta mensagem

Link para a mensagem
Partilhar noutros sites

Crie uma conta ou ligue-se para comentar

Só membros podem comentar

Criar nova conta

Registe para ter uma conta na nossa comunidade. É fácil!

Registar nova conta


Já tem conta? Inicie sessão aqui.

Entrar Agora