All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
使用IConfigurationSectionHandler在web.config中增加自定义配置_[Asp.Net教程]
实例分享:自己开发的自定义分页控件_.net资料_编程技术
安装SQL,Server,2005的AdventureWorks_[SQL,Server教程]
ADO.net中的数据库连接_[Asp.Net教程]
在服务器端得到CheckBoxList控件最后选择项的方法_[Asp.Net教程]
delphi高级vcl组件工具栏组件(TToolBar)使用实例
.NET,2.0,中对配置文件的读写_.net资料_编程技术
Windows,Server,2003,安全配置实战演习_[SQL,Server教程]
给.Net初学者的一些建议(共勉之)_[Asp.Net教程]
ASP.NET,2.0中预设的cookie_[Asp.Net教程]
Reading number is top 10 pictures
这玉米,买还是不卖?
来几张有特色的图片
Extremely rare TianShan Mountains snow lotus2
Take you to walk into the most true north Korea rural4
Poor doll, hand job was caught the currently in effect by his dad
The cat shit
The real super beauty14
每天进步一点点
A man's favorite things6
全球十大灵异酒店
Download software ranking
Unix video tutorial13
Unix video tutorial20
Ashlynn Video4
matrix3
虚拟机5.5.3版
仙剑奇侠传98硬盘WINXP版
Boxer vs Yellow5
功夫熊猫2(下集)
卡丁车单机版
中国结婚习俗实录
归海一刀 published in(发表于) 2014/1/30 1:06:03 Edit(编辑)
Web.Config配置节加密和解密_[Asp.Net教程]

Web.Config配置节加密和解密_[Asp.Net教程]

Web.Config配置节加密和解密_[Asp.Net教程]


Asp.Net2.0都横行这么长时间了,我对Web.Config配置节的加密和解密还不清楚,说来真是惭愧,今天学习了一下。
打开.Net Framework附带的SDK命令提示符。

加密命令:
aspnet_regiis -pe "connectionStrings" -app "/encrypttest"
-pe开关用来指定web.config中需要加密的节(Web.Config文件中的connectionStrings配置节)。
-app开关用来指定IIS里面的虚拟目录,如果为根目录网站,为"/".

解密命令:
aspnet_regiis -pd "connectionStrings" -app "/encrypttest"
唯一的区别就是,我们用-pd开关代替了-pa开关。
来源:http://www.cnblogs.com/fengfeng





添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.