节点文献
用三重DES加密.NET数据库连接字符串
Using 3DES encrypt .NET database connection string
【摘要】 南航网上售票系统基于微软的.NET技术,数据库连接信息存放在Web.config配置文件中。通过使用3DES算法对数据库连接字符串进行加密,增强系统的安全性。首先分析.NETFramework提供的密码类,然后设计了具体的3DES的应用类。管理员设置数据库连接信息,并用3DES加密后,放置于Web.config配置文件中。应用程序从Web.config中取出连接字符串,解密后,用其创建ADO.NET数据库连接。
【Abstract】 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 con-nection 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.
【Key words】 3DES; airlines netbooking system; cipher algorithm; .NET framework; web configuration file;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2007年04期
- 【分类号】TP311.13
- 【被引频次】8
- 【下载频次】277