如何保护在经典模式下IIS7上的静态内容? [英] How to protect static content on IIS7 in Classic Mode?
问题描述
我知道如何保护我的静态(HTML)在IIS6的页面,以及如何使用IIS7的综合管线做到这一点,但我怎么能在经典模式下运行时,保护我的HTML页面在IIS7未经授权的访问?
I know how to protect my static (HTML) pages in IIS6, and how to do it using the IIS7 Integrated Pipeline, but how can I protect my HTML pages from unauthorised access in IIS7 when running in Classic Mode?
这是使用窗体身份验证的ASP.NET网站。
It's an ASP.NET site using forms authentication.
推荐答案
IIS经典模式是一样的IIS6,除了你不能使用IIS管理器界面做到这一点;你必须直接编辑web.config文件。见<一href=\"http://www.ifinity.com.au/Blog/Technical%5FBlog/EntryId/66/How-To-301-Redirect-htm-or-html-pages-to-DotNetNuke-aspx-pages\"相对=nofollow>有关详细信息,该指南。
IIS Classic Mode is the same as IIS6, except you can't use the IIS manager interface to do it; you have to edit web.config directly. See this guide for details.
这篇关于如何保护在经典模式下IIS7上的静态内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!