Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2007, Vol. 33 ›› Issue (09): 269-271.

• Developmental Research • Previous Articles     Next Articles

Application of Regular Expressions in Verifying Client of E-Gov

WANG Gongming1,2, WU Huarui1, ZHAO Chunjiang1, YANG Baozhu1   

  1. (1. National Engineering Research Center for Information Technology in Agriculture, Beijing 100089; 2. Information Engineering Institute, Capital Normal University, Beijing 100037)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-05-05 Published:2007-05-05

正则表达式在电子政务客户端校验中的应用

王功明1,2,吴华瑞1,赵春江1,杨宝祝1

  

  1. (1. 国家农业信息化工程技术研究中心,北京 100089;2. 首都师范大学信息工程学院,北京 100037)

Abstract: SQL injection has ferocious harm to E-Gov. It can break integrality of query sentence in background database by inputing some vicious sentences which contain SQL key words. Thereupon, it carries out client attack. Besides, inputing data which isn’t accordant with criterion may aggravate burden of system and reduce reliability of system at all. So the security and reliability in E-Gov system desiderates enhancing. The regular expressions have strong ability to match pattern so as to verify various data which has a varity of types. The traditional B/S frame structure can expand from three layers to four layers by adding regular expressions verifying layer. Therefore, clients are kept from being attacked by verifying input data at client. Thus security and reliability in E-Gov system is improved to a certainly level. This technology acquires good effect in the course of application in an E-Gov system.

Key words: E-Gov, Regular expressions, Data verifying, Data lock, SQL injection

摘要: SQL注入技术通过输入带有SQL关键字的语句破坏后台数据库查询语句完整性,进而开展客户端攻击,危害性很强,此外,不合规范的输入数据,也加重系统负担,降低系统可靠性。所以电子政务系统安全性、可靠性亟待提高。正则表达式具有很强的模式匹配功能,可以用来校验各种类型数据。加入正则表达式校验层,扩充传统三层B/S架构至四层后,通过校验客户端输入数据,能够遏制某些客户端攻击,在一定程度上提高电子政务系统安全性、可靠性。在电子政务系统建设中应用该项技术,取得了优良的效果。

关键词: 电子政务, 正则表达式, 数据校验, 数据锁, SQL注入

CLC Number: