1.直接修改 web.config ,不过这是针对所有 Action。 <location path="Sample.txt"><location 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交