06 2016 档案

摘要:如何运用 Form 表单认证 ASP.NET 的安全认证,共有“Windows”“Form”“Passport”“None”四种验证模式。“Windows”与“None”没有起到保护的作用,不推荐使用;“Passport”我又没用过,唉……所以我只好讲讲“Form”认证了。我打算分三部分: 第一部分 阅读全文

posted @ 2016-06-27 14:51 秦少66 阅读(1739) 评论(0) 推荐(0)

摘要:一.CSRF是什么? CSRF(Cross-site request forgery),中文名称:跨站请求伪造,也被称为:one click attack/session riding,缩写为:CSRF/XSRF。 二.CSRF可以做什么? 你这可以这么理解CSRF攻击:攻击者盗用了你的身份,以你的 阅读全文

posted @ 2016-06-24 13:46 秦少66 阅读(508) 评论(1) 推荐(0)

摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/ht 阅读全文

posted @ 2016-06-20 17:13 秦少66 阅读(356) 评论(0) 推荐(0)

摘要:<!DOCTYPE html> <html lang="zh-cn"> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="Content-Type" cont 阅读全文

posted @ 2016-06-20 16:51 秦少66 阅读(524) 评论(1) 推荐(0)

摘要:<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> 阅读全文

posted @ 2016-06-13 16:28 秦少66 阅读(174) 评论(0) 推荐(0)

摘要:<script type="text/javascript"> window.onload = function () { var imgs = document.images; for (var i = 0; i < imgs.length; i++) { (function (x) { imgs 阅读全文

posted @ 2016-06-12 11:28 秦少66 阅读(942) 评论(0) 推荐(1)

摘要:我正在寻找方法来禁用 整个 ASP.Net MVC 网站 的浏览器缓存 我发现以下方法, Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);Response.Cache.SetNoStore(); 此外元标记方法 阅读全文

posted @ 2016-06-06 11:26 秦少66 阅读(2553) 评论(0) 推荐(0)

导航