数据库安全代理的研究与实现
2017-07-08夏春梅虞翔
夏春梅+虞翔



摘 要: 为了提升数据库安全性能,设计基于SSL的数据库安全代理系统。系统借助SSL的私密通信能力、用户身份验证能力和数据参数验证能力构建SSL安全代理接口,为用户访问需求验证提供数据和信道的加解密处理,防止不法分子攻击数据库。构建了以委任代理、访问代理和数据代理为主要功能的系统功能模型,给出数据通信流程,并对实现数据通信的握手协议和SSL记录协议层进行介绍。经实验验证可得,所设计的数据库安全代理模型可有效避免攻击,防止数据库私密数据被盗取。
关键词: 数据库; 安全代理; 握手协议; SSL记录协议层
中图分类号: TN915.08?34; TP311.13 文献标识码: A 文章编号: 1004?373X(2017)13?0098?03
Abstract: A database security proxy system based on SSL was designed to improve the security performance of database. The SSL security proxy interface is constructed in the system by virtue of the private communication capacity, user authentication capacity and data parameter validation capacity of SSL to provide the encryption and decryption of data and channel for user access demand, and prevent the lawbreaker attacking the database. The system function model taking the mandate agent, access agent and data agent as the main functions was constructed. The data communication process is given. The handshake protocol and SSL record protocol layer to implement the data communication are introduced. The experimental verification results show that the designed database security proxy model can effectively avoid the attack, and prevent the database private data being stolen.
Keywords: database; security proxy; handshake protocol; SSL record protocol layer
0 引 言
計算机网络在信息化时代中占据了极其重要的地位,数据库是计算机网络信息的载体,但凡是信息系统都离不开数据库提供的信息存储与管理功能。数据库中含有的私密信息存储和通信漏洞为其安全带来了隐患,不同区域间网络服务器的地址存储不集中、用户权限管理不彻底、信息加密失误、远程跟踪检测不完善等漏洞都为不法分子对数据库的攻击提供了入口,数据库安全代理的建立是解决上述隐患的重要手段[1]。绝大多数的数据库都以用户口令为安全代理,这种方式虽然使用起来极其简单,但安全性薄弱,不法分子只需使用简单的攻击方式便能从中套用到信息密钥,而且随着用户与网络服务器之间的数据交互增多,信息密钥的丢失率也不断上涨,对用户的信息安全造成了不小的影响[2]。……
