计算机与现代化

• 信息安全 • 上一篇    下一篇

ASP.NET应用中SQL注入攻击的分析与防范

  

  1. 平顶山学院软件学院,河南平顶山467000
  • 收稿日期:2013-11-18 出版日期:2014-03-24 发布日期:2014-03-31
  • 作者简介:褚龙现(1981-),男,河南叶县人,平顶山学院软件学院讲师,硕士,研究方向:数据库,数据挖掘,算法设计。
  • 基金资助:
    河南省教育厅科学技术研究重点项目(12B520040)

Analysis and Defense of SQL Injection Attacks in ASP.NET Application

  1. (Software School, Pingdingshan University, Pingdingshan 467000, China
  • Received:2013-11-18 Online:2014-03-24 Published:2014-03-31

摘要: 针对ASP.NET应用程序中存在SQL注入攻击问题,通过分析注入攻击的途径和方法,从输入过滤、语句参数化和SQL关键词转义三方面进行防范,实现三层防范模型。该防范模型可以自定义关键词转义规则,能够有效阻断SQL注入攻击途径,提高Web应用程序的安全性。实验结果表明该防范模型的可行性和有效性。

关键词: SQL过滤, 模型, 安全, 攻击

Abstract: Aiming at the SQL injection attack problem in ASP.NET application, after the analysis on the approach and method of injection attacks, a three-level prevention model is put forward from the aspect of input filtering, statement parameters and SQL keywords escaping. With this model, we can customize the rule of keywords escaping and block the approach of SQL injection attacks effectively. The result of experiments verifies the feasibility and effectiveness of this prevention model.

Key words: SQL filter, model, security, attack

中图分类号: