RE: programatically changing the .net version of virtual directory
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Thu, 18 May 2006 02:22:33 GMT
Hi Rak,
I think using external command utility to do the work is reasonable because
the ASP.NET version setting in IIS application vdir (or site) is a purely
IIS metabase setting. Also, perform such configuration will definitely
require powerful permission. And since you're going to execute the command
in ASP.NET application, I would suggest you consider using intergrated
windows authentication in IIS, and configure your ASP.NET application to
use windows authentication. And create an Admin-Page which let admin users
to visit. Thus, we can impersonate the client-user and spawn new process to
execute command under the impersonated user...
#How to implement impersonation in an ASP.NET application
http://support.microsoft.com/?id=306158
#How to spawn a process that runs under the context of the impersonated
user in Microsoft ASP.NET pages
http://support.microsoft.com/?id=889251
Hope this helps.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- References:
- Prev by Date: Re: How to change a redirect when using forms-based authentication
- Next by Date: Re: Life of static variables in ASP.NET 2.0
- Previous by thread: RE: programatically changing the .net version of virtual directory
- Next by thread: RE: programatically changing the .net version of virtual directory
- Index(es):
Relevant Pages
|