Re: Dynamically modify Web.config
From: Mike Shaw [MS] (mikeshaw@online.microsoft.com)
Date: 11/27/02
- Next message: Dragos Gafita: "Re: How does HttpHandler section work?!?"
- Previous message: nu-k-ar: "Re: Design for ASP.Net w/ ComponentServices"
- In reply to: JM: "Dynamically modify Web.config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Mike Shaw [MS]" <mikeshaw@online.microsoft.com> Date: Wed, 27 Nov 2002 11:57:55 -0000
Hi JM
Firstly I'd ask you to revist your application design to understand exactly
why you need to run impersonating an Admin as this is not a good idea from a
general security perspective :-(
However, take a look at
http://support.microsoft.com/default.aspx?scid=kb;EN-US;329250 which points
to an update to the .NET Framework which allows you to store encrypted
credentials in the web.config file, which, I think, with overcome your need
to programatically access that file.
-- Mike Shaw .NET Developer Group, UK This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. © 2002 Microsoft Corporation. All rights reserved. "JM" <jm@jm.com> wrote in message news:1701b01c29525$53924a60$8af82ecf@TK2MSFTNGXA03... > Hello, > > I need to set an impersonation with a domain admin account > in the <identity> tag in web.config.(web service) > > But the userName and Password would be clearly visible. > > My question is : how to programmatically access to these > elements and how to change them. I have found a code that > can change a personalized tag, but it doesnt work with > <identity> > > Thanks for our Help > Regards
- Next message: Dragos Gafita: "Re: How does HttpHandler section work?!?"
- Previous message: nu-k-ar: "Re: Design for ASP.Net w/ ComponentServices"
- In reply to: JM: "Dynamically modify Web.config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|