摘要
南航网上售票系统基于微软的.NET技术,数据库连接信息存放在Web.config配置文件中。通过使用3DES算法对数据库连接字符串进行加密,增强系统的安全性。首先分析.NETFramework提供的密码类,然后设计了具体的3DES的应用类。管理员设置数据库连接信息,并用3DES加密后,放置于Web.config配置文件中。应用程序从Web.config中取出连接字符串,解密后,用其创建ADO.NET数据库连接。
China southern airlines' netbooking system based on .NET technology. Database connection string is stored in web.config file. By means of 3DES encrypting the database connection string, greatly improve system's security. Firstly, cryptography classes provided by . NET framework is analyzed. Then, specific classes that implement 3DES is designed. Administrator setting database connection string, using 3DES to encrypt it, and then put the encrypted string into web.config file. Application program extract the database connection string from web.config, decrypt it, and then using it to create ADO.NET database connection.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第4期817-819,共3页
Computer Engineering and Design