Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > ASP.NET Impersonation & Delegation

Reply
Thread Tools

ASP.NET Impersonation & Delegation

 
 
Brian
Guest
Posts: n/a
 
      12-31-2003
I have read various articles regarding explaining ASP.Net
security model. I have one simple question regarding
Delegation that i can't seemed to get answered:

I have a web service that opens a file on another server
and reads the contents.

If I set an IIS application to Anoymous which uses a
domain account, I also set-up Impersonate = True in
web.config, do I need to turn on Kerebos Delegation for
the web server or the other server?

My understanding is that the ASP.NET will impersonate the
Domain account and since IIS knows the password it passes
it successfully to the other server which also receives
the credentials. However,if another hop was involved,
delegation would be required.
 
Reply With Quote
 
 
 
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      12-31-2003
Brian,

In order to avoid misinformation, let me restate my understanding of your
question:

* Your ASP.NET Web Serivce is accessing a file on a remote machine.
* You are using Anonymous access in IIS and the anonymous user is
specified by you as a domain account.
* You have non-user-specific impersonation turned on in the web.config.

You are then asking if you need to use Kerberos in this scenario. The
answer is no. In this scenario, there is no delegation of credentials
taking place.

Jim Cheshire, MCSE, MCSD [MSFT]
Microsoft Developer Support
ASP.NET


This post is provided as-is with no warranties and confers no rights.

--------------------
>Content-Class: urn:content-classes:message
>From: "Brian" <>
>Sender: "Brian" <>
>Subject: ASP.NET Impersonation & Delegation
>Date: Wed, 31 Dec 2003 12:05:16 -0800
>Lines: 17
>Message-ID: <00df01c3cfd9$68b4ad30$>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Thread-Index: AcPP2WiyMkCSAZYaRBOvme9Q1J2NKA==
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>Path: cpmsftngxa07.phx.gbl
>Xref: cpmsftngxa07.phx.gbl

microsoft.public.dotnet.framework.aspnet.security: 8092
>NNTP-Posting-Host: tk2msftngxa13.phx.gbl 10.40.1.165
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>I have read various articles regarding explaining ASP.Net
>security model. I have one simple question regarding
>Delegation that i can't seemed to get answered:
>
>I have a web service that opens a file on another server
>and reads the contents.
>
>If I set an IIS application to Anoymous which uses a
>domain account, I also set-up Impersonate = True in
>web.config, do I need to turn on Kerebos Delegation for
>the web server or the other server?
>
>My understanding is that the ASP.NET will impersonate the
>Domain account and since IIS knows the password it passes
>it successfully to the other server which also receives
>the credentials. However,if another hop was involved,
>delegation would be required.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
delegation question, where I want prototype style delegation Sam Roberts Ruby 4 05-07-2008 05:48 AM
Impersonation/Delegation without web.config. =?Utf-8?B?UGF1bA==?= ASP .Net 1 08-05-2005 08:09 AM
Re: ASP.NET Impersonation / delegation bruce barker ASP .Net 7 05-04-2004 02:41 PM
Problem with ASP.NET Delegation and Impersonation jm ASP .Net 1 12-20-2003 01:12 AM
Problem with impersonation and delegation Kelly D. Jones ASP .Net 1 09-12-2003 04:43 PM



Advertisments
 



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