Miracle · 2005-10-25 15:51:05 · 阅读: 736 form认证只保护包含服务器端代码的资源,如.aspx, .asmx之类的资源。 如果想要保护html/xml/txt/jpg之类静态资源,需要将文件类型映射到一个httphandler