Re: Updating web.config file with a dll from an asp.net web applicatio
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 07/09/05
- Previous message: Anonymous User: "Clear text passwords and Oracle - arrrrrrgh - please help!"
- In reply to: spai: "Updating web.config file with a dll from an asp.net web applicatio"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 09 Jul 2005 02:52:06 -0700
Hello spai,
depends on the OS - IIS 5.x uses the ASPNET account by default. IIS6 uses
Network Service by default.
Be aware that evey time you change the web.config you application will get
recycled - this may also result in unexpected behavior.
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> We have developed an asp.net web application which provides the user
> with a form to allow them to update configuration settings in the
> web.config file as well as other config files. The asp.net web page
> calls a c# dll to update the config file.
>
> When we do this we get an access denied error. We can resolve this
> error by allowing everyone to have full control on the config files.
> We tried just allowing aspnet to have full control on the files and
> still got the error. The only way we have been able to get this to
> work was to set full control for everyone.
>
> If not aspnet what user do the c# dll's run as? What security
> settings must be set on the config files to allow the dll's to update
> the config files.
>
- Previous message: Anonymous User: "Clear text passwords and Oracle - arrrrrrgh - please help!"
- In reply to: spai: "Updating web.config file with a dll from an asp.net web applicatio"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|