如何加密Web配置文件? [英] How to encrypt the web config file?

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

问题描述

我使用命令提示符命令加密网络配置,但其显示如下错误



I have use command prompt command for encrypt the web config but its shows below error

'C:\Windows\Microsoft.NET\Framework\v2.0.50727'  is not recognized as an internal or external command, operable program or batch file.





我也将更改框架路径





And i will change the framework path also

C:\Windows\Microsoft.NET\Framework\v3.5




C:\Windows\Microsoft.NET\Framework\v4.0.30319





我尝试了什么:



我使用了以下命令





What I have tried:

I have used the below command

C:\Users\Administrator>C:\Windows\Microsoft.NET\Framework\v2.0.50727>ASPNET_REGIIS -pef "connectionStrings" "D:\Client_Live_04082017\Web" -prov "DataProtectionConfigurationProvider"

推荐答案



此链接对您有帮助



https://www.codeproject.com/Tips/877258/How-to-Encrypt-Web-config-Using-aspnet-regiis-exe
Hi,
This Link is helpful to you

https://www.codeproject.com/Tips/877258/How-to-Encrypt-Web-config-Using-aspnet-regiis-exe


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

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