加密的连接字符串,第2部分 [英] Encrypted Connection Strings, Part 2

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

问题描述

前几天,我问了以下问题(加密的连接字符串 [ ^ ])有关加密web.config中的连接字符串答案与我需要知道的完全不符.

因此,让我问一下,如果您有顾问进入并且需要加密Web配置文件,您将如何处理?

The other day I asked the following questions (Encrypted Connection Strings[^]) about encrypting the connection string within the web.config and the answers didn''t really fit what I needed to know.

So let me ask, if you had a consultant coming in and needed to encrypt your web config file how would you do it?

推荐答案

您好,
我不知道您到底是什么问题?如果要加密web.config部分,则可以轻松实现.
只需使用 aspnet_regiis.exe [ google [此处列出的方法 [
注意:在尝试此操作之前,请备份web.config.以防万一...;)
Hi,
I don''t know what is exactly your problem? If you want to encrypt web.config section you can do that easily.
Just use aspnet_regiis.exe[^] tool provided with .NET framework...

If you use google[^] you can find several solutions on first results page and use any solution to solve your task...

If you want to do that from your code then use methods listed here[^] in paragraph named "Programmatically Encrypting Configuration Sections"...

Notice: Make a backup of your web.config before you try this. Just in case... ;)


Google? :sigh:
加密和解密配置节 [
Google? :sigh:
Encrypting and Decrypting Configuration Sections[^]


这篇关于加密的连接字符串,第2部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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