期刊文献+

基于Django的XSS防御研究与实现 被引量:2

Research and implementation of XSS defense based on Django
下载PDF
导出
摘要 跨站脚本攻击(XSS)是当前最流行的Web应用攻击方式之一,而Django作为目前比较火热的Web应用开发框架,并没有为其开发的Web应用提供有效的XSS防御功能。本文针对此问题,采用中间件,黑白名单,SBT,字符熵以及N-gram等多种技术,为Django设计了一个XSS防御组件。基于该组件分别进行了功能及性能测试,其中漏报率和误报率都低于3%,平均响应延迟5%,并能有效解决原生Django在XSS防护时过分依赖模板变量且不能适应富文本应用场景等问题,系统安全可靠。 Cross site scripting (XSS) is one of the most popular Web application attacks. Django as the relatively hot Web application development framework has no effective defense XSS function for Web application. In this paper, we use a variety of technologies such as middleware, black and white list, SBT, character entropy and N-gram to design a XSS defense component for Django. The components were tested for functionality and performance.The false negative rate and false alarm rate are less than 3%. The average response delay of 5%.It can effectively solve the original Django in XSS protection relies on the template variables and adapt to the rich text application scene. The system is safe and reliable.
作者 韩可彧 李伟 HAN Ke-yu1, LI Wei2(1. Wuhan Research Institute of Posts and Telecommunications, Wuhan 430074, China ; 2. Wuhan Fiberhome Li Cloud Network Technology Company Limited, Wuhan 430074, Chin)
出处 《电子设计工程》 2018年第6期38-41,47,共5页 Electronic Design Engineering
关键词 跨站脚本攻击 Djano 中间件 模板变量 富文本 Cross site scripting (XSS) Djano middleware template variable rich text
  • 相关文献

参考文献11

二级参考文献42

  • 1罗可,林睦纲,郗东妹.数据挖掘中分类算法综述[J].计算机工程,2005,31(1):3-5. 被引量:62
  • 2谈恒贵,王文杰,李游华.数据挖掘分类算法综述[J].微型机与应用,2005,24(2):4-6. 被引量:31
  • 3邓巍巍.跨站脚本攻击技术的成因与防御[J].信息网络安全,2007(9):27-27. 被引量:6
  • 4李俊民,郭丽艳.网络安全与黑客攻防[M].北京:电子工业出版社,2010.412-413.
  • 5OWASP[EB/OL].(2013-12-10).https://www.OWASP.org/index.php/.
  • 6XSS攻击技术详解[EB/OL].(2013-12-11).http://www.blogjava.net/qileilove/archive/2013/12/11/407435.html.
  • 7XSSer 1.5发布,XSS漏洞渗透测试工具[EB/OL].(2011-02-27).http://www.oschina.net/news/15819/XSSer-1-5-released.
  • 8Free Obfuscator[OL].http://www.minifyjs.com/javascript-obfuscator/.
  • 9Javascript Obfuscator[OL].http://javascriptobfuscator.com/.
  • 10Choi Y H,Kim T G,Choi S J.Automatic Detection for Javascript Obfuscation Attacks in Web Pages through String Pattern Analysis[J].International Journal of Security and Its Applications,2010,4(2):13-26.

共引文献32

同被引文献15

引证文献2

二级引证文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部