Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Impersonation on Windows 2003 Server

Reply
Thread Tools

Impersonation on Windows 2003 Server

 
 
Craig Neuwirt
Guest
Posts: n/a
 
      10-21-2004
Does a user being impersonated within and ASP.NET application (using
programatic impersonation) on a Windows 2003 Server machine need any
different privileges or policies than the same ASP.NET user and application
running under Windows XP. I am using a set of classes that expose the COM
Windows TaskScheduler. When I try to instantiate the COM class within an
ASP.NET Application on Windows 2003 Server, I get an access denied, but not
when running under Windows Xp.

Thanks,
craig


 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9yZ2UgTWF0b3M=?=
Guest
Posts: n/a
 
      10-21-2004
in Windows Server 2003 the process that runs your web apps is called wp3.exe
and the user account is "Network Service". This account does not by default
have permissions to create COM objects (which involves accessing the
registry). The TaskSchedulerAPI tries to write a file to a directory (don't
remember where) in the operating system. You may be getting an "Access
Denied" error because "Network Service" does not have permissions to this
system folder.

"Craig Neuwirt" wrote:

> Does a user being impersonated within and ASP.NET application (using
> programatic impersonation) on a Windows 2003 Server machine need any
> different privileges or policies than the same ASP.NET user and application
> running under Windows XP. I am using a set of classes that expose the COM
> Windows TaskScheduler. When I try to instantiate the COM class within an
> ASP.NET Application on Windows 2003 Server, I get an access denied, but not
> when running under Windows Xp.
>
> Thanks,
> craig
>
>
>

 
Reply With Quote
 
 
 
 
Craig Neuwirt
Guest
Posts: n/a
 
      10-22-2004
I neglected to say that the account I am using for impersonation is in the
Administrator group. Therefore, it should be able to write to any
directory. I am wondering if it is more of a permission/policy problem than
a true access problem.

thanks,
craig


"Jorge Matos" <> wrote in message
news:EBF492D3-3365-4FEC-95F8-...
> in Windows Server 2003 the process that runs your web apps is called

wp3.exe
> and the user account is "Network Service". This account does not by

default
> have permissions to create COM objects (which involves accessing the
> registry). The TaskSchedulerAPI tries to write a file to a directory

(don't
> remember where) in the operating system. You may be getting an "Access
> Denied" error because "Network Service" does not have permissions to this
> system folder.
>
> "Craig Neuwirt" wrote:
>
> > Does a user being impersonated within and ASP.NET application (using
> > programatic impersonation) on a Windows 2003 Server machine need any
> > different privileges or policies than the same ASP.NET user and

application
> > running under Windows XP. I am using a set of classes that expose the

COM
> > Windows TaskScheduler. When I try to instantiate the COM class within

an
> > ASP.NET Application on Windows 2003 Server, I get an access denied, but

not
> > when running under Windows Xp.
> >
> > Thanks,
> > craig
> >
> >
> >



 
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
ASP.NET Impersonation in a Windows 2003 non domain member server Johann Granados ASP .Net Security 12 04-21-2007 07:14 PM
ASP.NET Impersonation in a Windows 2003 non domain member server =?Utf-8?B?Sm9oYW5uIEdyYW5hZG9z?= ASP .Net 1 04-21-2007 01:44 PM
EventLog Access using impersonation in Windows Server 2003 =?Utf-8?B?Y2pr?= ASP .Net 4 11-01-2006 06:10 PM
Windows 2003 Server or Exchange Server 2003 first????? Ozzie MCSA 1 11-30-2004 01:10 AM
Impersonation on Windows Server 2003 Halcyon Woodward ASP .Net Security 1 07-18-2003 05:57 AM



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