Re: Help using impersonation - permission problems.



if you use identity impersonate with nt authentication, permissions are only good on the iis server. they cannot be used to access another server. this is a limitation of nt security (1 hop rule). you can switch to kerberos and enable credentials forwarding.

if you are just trying to give the web site permission, then use app pools to set the identity, not the web config. asp.net also support encrypting string in the web config.

-- bruce (sqlwork.com)



teejayem@xxxxxxxxx wrote:
Hi.

I have an ASP.NET website. My IIS is set to use Windows NT
Authentication.

I have configured my ASP website to use impersonation using the
following tag:-

<identity impersonate="true" />

Now I understand that the code that runs on the server should now run
as the NT user that has authenticated against my IIS. This doesn't
seem to be the case as I have tested this with users who are members
of the Domain Admins group and the website displays errors which is
being caused by permissions.

When I explicitly define the user name and password of an
administrative account it works fine.

<identity impersonate="true" userName="WALKER_MORRIS\user"
password="" ></identity>

Any ideas? As I would rather not have a domain admin account user
details written in plain text.

.



Relevant Pages

  • Re: Remote Web Workplace Issues-Please help!
    ... Open the Server Management Console, ... client after Authentication" right. ... permissions, and Microsoft Windows user rights according to the KB 812614. ... Download the IIS Resource Kit tools from the following page: ...
    (microsoft.public.windows.server.sbs)
  • Re: WM5 can not sync to exchange
    ... I checked all the authentication settings and they are as you requested. ... After running the internet connection wizard I had to uncheck the Require ... On the SBS 2003 Server open the Server Management console. ... Open IIS Manager ...
    (microsoft.public.windows.server.sbs)
  • Re: Permission Problems SBS2003 R1
    ... website on the SBS server? ... Default permissions and user rights for IIS 6.0 ... Step 3: Please check the permissions in IIS manager: ... Step 4: Re-running CEICW on SBS server: ...
    (microsoft.public.windows.server.sbs)
  • RE: WM5 can not sync to exchange
    ... code 85010014 during ActiveSync with SBS. ... On the SBS 2003 Server open the Server Management console. ... Please verify Authentication settings by the following steps. ... Open IIS Manager ...
    (microsoft.public.windows.server.sbs)
  • Re: WM5 can not sync to exchange
    ... On the SBS 2003 Server open the Server Management console. ... Please verify Authentication settings by the following steps. ... Open IIS Manager ... Collect the IIS metabase on Exchange Server and send to me: ...
    (microsoft.public.windows.server.sbs)