connection String加密
aspnet_regiis -pe "connectionStrings" -app "/HG" -prov "ChrisProvider"
<configProtectedData> <providers> <add keyContainerName="chrisWindowKey" useMachineContainer="true" description="chris.net Keys" name="ChrisProvider" type="System.Configuration.RsaProtectedConfigurationProvider,System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </providers> </configProtectedData>