Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Sat, 23 Feb 2008 15:33:01 -0800,    group: microsoft.public.dotnet.security        back       


Dynamic Perfmon Object Creation under ASP.NET 2.0   
I have a ASP.NET application which runs under the NETWORKSERVICE account.

I instrument aspects of the application via custom perfmon objects.  
I need to dynamically (on-the-fly) create/destroy perfmon objects and 
instances due to the nature of the application.  I'd rather not delegate thsi 
to an external process as it wouls slow things down.

Under ASP.NET 1.1 I simply impersonated around the perfmon creation.  We've  
ported to ASP.NET 2.0 and this impersonation no longer works.
As a test I changed the the pool identity to the privileged user and it 
worked.
Obviously not something I want to do in production.
date: Sat, 23 Feb 2008 15:33:01 -0800   author:   DaveS

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us