I have several .NET web applications in the co intranet. Currently, every
application has its own login screen to authentication and the
authentication is Forms Authentication with Active Directory. Now, I want to
by-pass the login screen but still want to use AD to have authentication. My
question is can I get the logged in username and password from windows and
proceed the AD authentication when user start the application.
Million thanks.."Grey" <erickwyum@.i-cable.com> wrote in message news:%23lArIeXaEHA.2488@.tk2msftngp13.phx.gb
l...
> I have several .NET web applications in the co intranet. Currently, every
> application has its own login screen to authentication and the
> authentication is Forms Authentication with Active Directory. Now, I want
to
> by-pass the login screen but still want to use AD to have authentication.
My
> question is can I get the logged in username and password from windows and
> proceed the AD authentication when user start the application.
> Million thanks..
>
In an intRAnet situation, where all (applicable) servers and clients run Win
dows,
you can use the windows-login to automatically get access to your site.
I've never done it (yet) so I can't give more details, but I think you shoul
d look
at the security tab in the IIS properties for the site(s).
Hans Kesting
If user is there in AD, then you can use integrated windows authentication.
Using user.Identity.Name(), you can get the username of the loged on user.
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com
"Grey" <erickwyum@.i-cable.com> wrote in message
news:#lArIeXaEHA.2488@.tk2msftngp13.phx.gbl...
> I have several .NET web applications in the co intranet. Currently, every
> application has its own login screen to authentication and the
> authentication is Forms Authentication with Active Directory. Now, I want
to
> by-pass the login screen but still want to use AD to have authentication.
My
> question is can I get the logged in username and password from windows and
> proceed the AD authentication when user start the application.
> Million thanks..
>
You may also have to turn on impersonation if your using this method. This m
ake sure users are not authenticated as the aspnet user, instead ,their netw
ork credentials are use.
"Saravana [MVP]" wrote:
> If user is there in AD, then you can use integrated windows authentication
.
> Using user.Identity.Name(), you can get the username of the loged on user
.
>
> --
> Saravana
> Microsoft MVP - ASP.NET
> www.extremeexperts.com
>
> "Grey" <erickwyum@.i-cable.com> wrote in message
> news:#lArIeXaEHA.2488@.tk2msftngp13.phx.gbl...
> to
> My
>
>
Oh, I forgot to mention, Microsoft has already addressed this issue using th
e MS Passport. You might want to take a look at that. Download the Passport
SDK and work from there
"Hans Kesting" wrote:
> "Grey" <erickwyum@.i-cable.com> wrote in message news:%23lArIeXaEHA.2488@.tk
2msftngp13.phx.gbl...
> In an intRAnet situation, where all (applicable) servers and clients run W
indows,
> you can use the windows-login to automatically get access to your site.
> I've never done it (yet) so I can't give more details, but I think you sho
uld look
> at the security tab in the IIS properties for the site(s).
> Hans Kesting
>
>
Thursday, March 29, 2012
Single sign on in ASP.NET
Labels:
applications,
asp,
aspnet,
authentication,
everyapplication,
intranet,
login,
net,
own,
screen,
single,
theauthentication,
web
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment