2017年2月10日

web总结

摘要: web总结 1、html 2、web效果查询表 http://www.cnblogs.com/lx63blog/articles/6362364.html 3、CSRF 跨站请求伪造 http://www.cnblogs.com/lx63blog/articles/6386586.html 练习: 阅读全文

posted @ 2017-02-10 15:34 lexn 阅读(83) 评论(0) 推荐(0) 编辑

csrf

摘要: csrf 1、跨站请求伪造 原来:客户端首次访问get,再次访问时使用POST访问,没有携带token也可以验证通过。 在开启了csrf后post无token则不能验证。 2、要求 在settings中 启用 csrf.CsrfViewMiddleware HTML 文件中{%csrf_token% 阅读全文

posted @ 2017-02-10 15:33 lexn 阅读(89) 评论(0) 推荐(0) 编辑

导航