ASP.NET Impersonation fails on IIS

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

  1. #1

    Default ASP.NET Impersonation fails on IIS

    Hi,

    I built an ASP.NET Web application with impersonation. This works
    fine, my login is recognized. Now I want to get access to a certain
    folder on an UNC file share. I have the rights with my login, but when
    I test my application on the web server I get an error message that
    the access is denied.

    Please help, thanks
    serre Guest

  2. Similar Questions and Discussions

    1. #38978 [NEW]: Impersonation fails for a COM object under load
      From: tetikr at spytech dot cz Operating system: Win2003 SP1 PHP version: 5.1.6 PHP Bug Type: COM related Bug description: ...
    2. impersonation fails on 2K server
      I've got an ASP.NET web app that generates dynamic excel spreadsheets via COM. It does this work in a seperate subdirectory called "reports" and...
    3. Impersonation fails on all other pages
      I am trying to impersonate 3 "roles" based upon forms authentication, a SQL Server lookup, and a LogonUser call on a Win2003 1.1 box. The goal of...
    4. Impersonation fails after upgrade to .NET 1.1 Framework
      I have developed and ASP.NET application that uses the aadvapi32.dll to impersonate a domain user to gain access to files on a different server. The...
    5. ASP.NET Fails after SP4 with Impersonation
      Michael, See http://support.microsoft.com/default.aspx?scid=kb;;821546 "Michael Kennedy " <mkennedy@REMOVETHIS.unitedbinary.com> wrote in...
  3. #2

    Default Re: ASP.NET Impersonation fails on IIS

    If you are using Windows Integrated Authentication in IIS, then this is
    likely failing because your account cannot be delegated to a different
    server. This is called a double hop issue. Do a search for double hop and
    Kerberos Delegation to find out what you need to do to get this working.

    Joe K.

    "serre" <tobias_wohllaib@web.de> wrote in message
    news:b5bd2aa6.0502070704.1abb53b@posting.google.co m...
    > Hi,
    >
    > I built an ASP.NET Web application with impersonation. This works
    > fine, my login is recognized. Now I want to get access to a certain
    > folder on an UNC file share. I have the rights with my login, but when
    > I test my application on the web server I get an error message that
    > the access is denied.
    >
    > Please help, thanks

    Joe Kaplan \(MVP - ADSI\) Guest

  4. #3

    Default Re: ASP.NET Impersonation fails on IIS

    On 7 Feb 2005 07:04:08 -0800, [email]tobias_wohllaib@web.de[/email] (serre) wrote:

    ¤ Hi,
    ¤
    ¤ I built an ASP.NET Web application with impersonation. This works
    ¤ fine, my login is recognized. Now I want to get access to a certain
    ¤ folder on an UNC file share. I have the rights with my login, but when
    ¤ I test my application on the web server I get an error message that
    ¤ the access is denied.

    The other way around this, if you need to delegate credentials, is to use Basic authentication. This
    would be fine if your app is confined to an Intranet. Otherwise, with NTLM (Integrated Windows
    Authentication) you need to implement Kerberos, as Joe mentioned.


    Paul ~~~ [email]pclement@ameritech.net[/email]
    Microsoft MVP (Visual Basic)
    Paul Clement 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