ConnexionString加密 [英] ConnexionString encryption

查看:59
本文介绍了ConnexionString加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我已经 开发了一个 Windows窗体 具有的应用程序 a app.config 配置文件 with 机密 设置, 我发现 一种解决方案 是要 加密 使用配置文件
的一部分 ProtectSection 功能.

但是我的 关注 一个人可以 复制项目 并且 将应用 UnprotectSection 功能 如此 访问 机密信息.

如何保护 it ???

Hello ,

I have developed a Windows Form application that has a app.config configuration file with confidential settings, I found a solution that is to encrypt a section of the configuration file with the ProtectSection function.

But my concern is that a person can copy the project and will apply the UnprotectSection function so it access to confidential information.

How to protect it ???

推荐答案

无钥匙,副本就一文不值.因此,只需使用 适当的键,这就是您所能做的.
Without the key, the copy is worthless.  Thus just use the appropriate key, this is all you can do.


这篇关于ConnexionString加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆