加密asp.net C#全配置文件 [英] encrypt asp.net C# full config file

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

问题描述

我有网C#asp.net应用程序。我要加密Web.config文件。不仅连接字符串。

I have Web c# asp.net application. I want to encrypt Web.config file. Not only Connection string.

我需要完整的文件进行加密。

I need full file to encrypt.

推荐答案

。看看下面的MSDN文章,它可能是你在找什么:的 https://msdn.microsoft.com/en-us/library/zhhddkxy.aspx

Look into the following MSDN article, it may be what you are looking for: https://msdn.microsoft.com/en-us/library/zhhddkxy.aspx

这是关于使用为aspnet_regiis 工具加密配置文件的各个部分,将由IIS / ASP.Net当应用程序请求进行解密。

It is about using the aspnet_regiis tool to encrypt sections of the config file, which will be decrypted by IIS/ASP.Net when it is requested by the application.

这篇关于加密asp.net C#全配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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