我们有一个.NET2.0应用程序,我们通常在IIS6上运行,过去在IIS7上运行良好,但最近在为VistaIIS7安装SP1后似乎在Web.Config文件中的一行上令人窒息:删除AllowLocation属性是否安全?这个属性有什么作用? 最佳答案 来自MSDN:Whensettofalse,theAllowLocationpropertyindicatesthatthesectionisaccessedbynative-codereaders.Therefore,theuseofthelocationattributeisnot