ASP.NET Impersonation & Delegation

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default ASP.NET Impersonation & Delegation

    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.
    Brian Guest

  2. Similar Questions and Discussions

    1. ASP.NET Impersonation / delegation
      you are on the right track. ntlm will not delegate even if your security team allowed delegation, only digest allows delegation. on win2k you...
    2. Impersonation, Delegation & SQL Server
      I bailed on this before and just went to Basic Authentication and told the users they would have to live with signing on again.... but now I need to...
    3. Impersonation or Delegation?
      A client makes a request that executes a stored procedure in SQL Server. That stored procedure attempts to read a file on the web server but fails...
    4. Impersonation/Delegation security considerations
      I'm having trouble finding specific documentation regarding the negative impact of using delegation in a Windows 2000 environment. I've read...
    5. Impersonation and delegation
      I've read many messages and even more technotes, but I still can't get the following scenario to work: I have a Windows 2003 web server and a...
  3. #2

    Default RE: ASP.NET Impersonation & Delegation

    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
    [email]jamesche@online.microsoft.com[/email]

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

    --------------------
    >Content-Class: urn:content-classes:message
    >From: "Brian" <brian@nospam.net>
    >Sender: "Brian" <brian@nospam.net>
    >Subject: ASP.NET Impersonation & Delegation
    >Date: Wed, 31 Dec 2003 12:05:16 -0800
    >Lines: 17
    >Message-ID: <00df01c3cfd9$68b4ad30$a501280a@phx.gbl>
    >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.
    >
    Jim Cheshire [MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139