Re: How do I give ASP.NET process network credentials?
From: Willy Denoyette [MVP] (willy.denoyette@pandora.be)
Date: 10/29/02
- Next message: Ben: "Access network printer"
- Previous message: hdiaz: "Re: Encrypt User ID and Password in client-server communication"
- In reply to: Joseph Geretz: "Re: How do I give ASP.NET process network credentials?"
- Next in thread: Joseph Geretz: "Re: How do I give ASP.NET process network credentials?"
- Reply: Joseph Geretz: "Re: How do I give ASP.NET process network credentials?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Willy Denoyette [MVP]" <willy.denoyette@pandora.be> Date: Tue, 29 Oct 2002 22:17:04 +0100
Joseph,
1. Running as SYSTEM should be no problem when impersonating but you need to create a logon session by calling Win32 LogonUser. What
exactly did you encounter as a problem?
2. .NET classes can be used as COM+ server application (see EnterpriseServices).
Willy.
"Joseph Geretz" <jgeretz@nospam.com> wrote in message news:eMvT9#3fCHA.2232@tkmsftngp09...
> Hi Willy,
>
> > A local account 'can' impersonate a domain account provided he has the
> privilege to create a logon session (to get an access
> > token)for that account, by default only SYSTEM can do this on W2K
>
> Well, for some reason it's not working. I'm running the site on a Win2K
> member server. Machine.config specifies username of SYSTEM in processModel,
> but I'm not able to impersonate.
>
> > One possible solution is to drop your network access code into a COM+
> server application and run this code as a distinct user with
> > network credentials, after all "security services" are one of the purposes
> of COM+ services right?.
>
> Well yes, but this is native .NET running on the server. If I can keep the
> solution native .NET I'll have much simpler deployment and support. Given
> the plethora of user/priviledge/impersonation options built into the .NET
> model, it seems to me that I should be able to do this natively with .NET.
> But how?
>
> Thanks,
>
> - Joe Geretz -
>
>
>
- Next message: Ben: "Access network printer"
- Previous message: hdiaz: "Re: Encrypt User ID and Password in client-server communication"
- In reply to: Joseph Geretz: "Re: How do I give ASP.NET process network credentials?"
- Next in thread: Joseph Geretz: "Re: How do I give ASP.NET process network credentials?"
- Reply: Joseph Geretz: "Re: How do I give ASP.NET process network credentials?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|