如题,希望通过更改配置文件就可以达到~,谢谢

解决方案 »

  1.   

    use location in web.config, seehttp://support.microsoft.com/default.aspx?scid=kb;EN-US;Q316871
    <location path="YourFile.aspx">
    <system.web>
    <authorization>
    <allow users ="*" />
    </authorization>
    </system.web>
    </location>
      

  2.   

    翻译一下思归的:use location in web.config, see
    在你的web.config中使用如下代码:
    <location path="YourFile.aspx">
    <system.web>
    <authorization>
    <allow users ="*" />
    </authorization>
    </system.web>
    </location>参考:http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q316871
      

  3.   

    在你需要绕过验证的文件所在文件夹增加一个Web.Config,
    <configuration>
        <location path="abc.aspx">
          <system.web>
    <authorization>
        <allow users ="*" />
    </authorization>
          </system.web>
        </location>
    </configuration>