加密:
@echo off echo web.config c: cd c:\windows\Microsoft.NET\Framework64\v4.0.30319 aspnet_regiis -pe "appSettings" -app "/XXX" aspnet_regiis -pe "connectionString" -app "/XXX" aspnet_regiis -pe "system.web/identity" -app "/XXX" pause
解密:
@echo off echo web.config c: cd c:\windows\Microsoft.NET\Framework64\v4.0.30319 aspnet_regiis -pd "appSettings" -app "/XXX" aspnet_regiis -pd "connectionString" -app "/XXX" aspnet_regiis -pd "system.web/identity" -app "/XXX" pause
aspnet_regiis 加密/解密 web.config,布布扣,bubuko.com
aspnet_regiis 加密/解密 web.config
原文:http://www.cnblogs.com/xachary/p/3919667.html