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

teckV

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

1 mensagem neste tópico

'

Overview

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.

artigo:

http://www.codeproject.com/aspnet/ASPdotnet_LoginControl.asp

código fonte:

http://www.codeproject.com/aspnet/ASPdotnet_LoginControl/ASPdotnet_LoginControl_src.zip

teckV

0

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

Entra

Já tem conta? Inicie sessão aqui.


Entrar Agora