Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Security (http://www.velocityreviews.com/forums/f62-asp-net-security.html)
-   -   Fixed Impersonation vs Current login user (http://www.velocityreviews.com/forums/t766081-fixed-impersonation-vs-current-login-user.html)

Roan Schuurman 05-11-2004 03:34 PM

Fixed Impersonation vs Current login user
 
I have a ASp.NET application which performs a http request to another
web site on the same server but different virtual directory. when i
set impersonate = true and a fixed account, the http request is done
with that account. when leave the account blank (current login user)
then the request fails because he has no account. integrated
authentication is on, on both virtual directories.
please some help!

regards,

Roan Schuurman

Ken Schaefer 05-12-2004 05:43 AM

Re: Fixed Impersonation vs Current login user
 
You have a double-hop authentication issue I think.

With IWA, IIS doesn't have the user's username/password - only a token,
which isn't sufficient to construct a new HTTP request passing credentials.

I think you'll need to configure delegation. Here are some links:


http://support.microsoft.com/default...b;en-us;810572
HOW TO: Configure an ASP.NET Application for a Delegation Scenario

http://support.microsoft.com/?id=294382
Authentication May Fail with "401.3" Error If Web Site's "Host Header"
Differs from Server's NetBIOS Name

http://support.microsoft.com/default.aspx?kbid=325894
HOW TO: Configure Computer Accounts and User Accounts So That They Are
Trusted for Delegation in Windows Server 2003 Enterprise Edition (also
includes Windows 2000 instructions)

http://www.microsoft.com/resources/d...l_computer.asp
Configuring Users and Computers for delegation (there's a couple of pages -
use the links in the nav bar to get to them)

Windows 2003 Protocol Transition
http://www.microsoft.com/technet/pro.../constdel.mspx


Cheers
Ken


"Roan Schuurman" <roan_schuurman@hotmail.com> wrote in message
news:3547a0e2.0405110734.4d69a1d5@posting.google.c om...
: I have a ASp.NET application which performs a http request to another
: web site on the same server but different virtual directory. when i
: set impersonate = true and a fixed account, the http request is done
: with that account. when leave the account blank (current login user)
: then the request fails because he has no account. integrated
: authentication is on, on both virtual directories.
: please some help!
:
: regards,
:
: Roan Schuurman



Roan Schuurman 05-25-2004 04:25 PM

Re: Fixed Impersonation vs Current login user
 
Thanks for your reaction Ken!
Unfortunatly a already had configured everything for delegation but
forgot to mention it. so it still doesn't work.
I also do think it is "double hop" issue, because when i change to
Basic authentication it will work. I don't know how to fix the double
hop issue.
is you have suggestions, please let me know because i am stuck.

regards,

roan

"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message news:<eL1aXQ#NEHA.128@TK2MSFTNGP12.phx.gbl>...
> You have a double-hop authentication issue I think.
>
> With IWA, IIS doesn't have the user's username/password - only a token,
> which isn't sufficient to construct a new HTTP request passing credentials.
>
> I think you'll need to configure delegation. Here are some links:
>
>
> http://support.microsoft.com/default...b;en-us;810572
> HOW TO: Configure an ASP.NET Application for a Delegation Scenario
>
> http://support.microsoft.com/?id=294382
> Authentication May Fail with "401.3" Error If Web Site's "Host Header"
> Differs from Server's NetBIOS Name
>
> http://support.microsoft.com/default.aspx?kbid=325894
> HOW TO: Configure Computer Accounts and User Accounts So That They Are
> Trusted for Delegation in Windows Server 2003 Enterprise Edition (also
> includes Windows 2000 instructions)
>
> http://www.microsoft.com/resources/d...l_computer.asp
> Configuring Users and Computers for delegation (there's a couple of pages -
> use the links in the nav bar to get to them)
>
> Windows 2003 Protocol Transition
> http://www.microsoft.com/technet/pro.../constdel.mspx
>
>
> Cheers
> Ken
>
>
> "Roan Schuurman" <roan_schuurman@hotmail.com> wrote in message
> news:3547a0e2.0405110734.4d69a1d5@posting.google.c om...
> : I have a ASp.NET application which performs a http request to another
> : web site on the same server but different virtual directory. when i
> : set impersonate = true and a fixed account, the http request is done
> : with that account. when leave the account blank (current login user)
> : then the request fails because he has no account. integrated
> : authentication is on, on both virtual directories.
> : please some help!
> :
> : regards,
> :
> : Roan Schuurman



All times are GMT. The time now is 09:43 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57