在 web.config 中加密 appSettings [英] Encrypting appSettings in web.config

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

问题描述

我正在开发一个需要用户名和密码存储在 web.Config 中的网络应用程序,它还引用了一些将由网络应用程序本身而不是客户端请求的 URL.

I am developing a web app which requires a username and password to be stored in the web.Config, it also refers to some URLs which will be requested by the web app itself and never the client.

我知道 .Net 框架不允许提供 web.config 文件,但是我仍然认为将此类信息以纯文本形式保留是不好的做法.

I know the .Net framework will not allow a web.config file to be served, however I still think its bad practice to leave this sort of information in plain text.

到目前为止我读到的所有内容都要求我使用命令行开关或将值存储在服务器的注册表中.我无法访问这两个,因为主机在线,我只有 FTP 和控制面板 (helm) 访问权限.

Everything I have read so far requires me to use a command line switch or to store values in the registry of the server. I have access to neither of these as the host is online and I have only FTP and Control Panel (helm) access.

谁能推荐我可以使用的任何好的、免费的加密 DLL 或方法?我宁愿不开发自己的!

Can anyone recommend any good, free encryption DLL's or methods which I can use? I'd rather not develop my own!

感谢迄今为止的反馈,但我无法发出命令,也无法编辑注册表.它必须是一个加密实用程序/助手,但只是想知道是哪一个!

Thanks for the feedback so far guys but I am not able to issue commands and and not able to edit the registry. Its going to have to be an encryption util/helper but just wondering which one!

推荐答案

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