This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / [Q]how to modify web.config from another web application?I tried to modify the web.config from another web application. I got access deny exception.
Any advice is appreciated.
-carletonwong(carletonwong);
2004-6-23
{121}
(#1776685@0)
-
如果不考虑安全问题,我会先设置给ASPNET用户对web.config文件的读写权限。
-hillxie(阳光、绿地、鸽子);
2004-6-23
(#1776802@0)
-
Have you ever done it. I tried and did not work. I think IIS should not allow to do so. Web.Config is different from other files.
-carletonwong(carletonwong);
2004-6-24
(#1778290@0)
-
我只听说可以做到和不建议这么做,但没做过。我想如果给运行ASP.NET application的用户足够的权限,应该就不会有权限问题了吧。加上修改权限
-hillxie(阳光、绿地、鸽子);
2004-6-24
(#1778578@0)
-
What language do you use? If it's VB.NET here is a class I coded a while ago.
-schen(糊涂阿福);
2004-6-24
{3299}
(#1778008@0)
-
Thank you for the reply. Indeed, I wask asking how to set up security and configuration to allow aother application to modify the web.config file.I am not quite sure if we can do so or not.
-carletonwong(carletonwong);
2004-6-24
{43}
(#1778282@0)