摘要: 修改应用程序根目录下的web.config文件,设置应用程序的验证模式为表单验证。<system.web> <authentication mode="Forms"> <forms loginUrl="/Login.aspx"></forms> </authentication></system.web>在限制访问的目录下创建一个web.config文件,修改authorization配置节阻止匿名用户的访问。<system.web><authorization&g 阅读全文
posted @ 2012-01-18 08:52 DaCHun 阅读(357) 评论(0) 推荐(0) 编辑