Web Config Encryption

Encrypt with aspnet_regiis

Referes to  http://msdn.microsoft.com/library/dtkwfdky.aspx

Set RSA Key Permissions
CMD shell set to
C:\Windows\Microsoft.NET\Framework\v4.0.30319>
aspnet_regiis -pa NetFrameworkConfigurationKey "NT AUTHORITY\NETWORK SERVICE" Encrypt Section with Machine Key
Encryption depends on Machine and current User
Working:
aspnet_Regiis -pef system.web/connectionstring D:\WNTFSPrjs\HauptPharma\Web\Web2011\Dev\Querplex.HauptPharma.XPress.Web Not working:
aspnet_Regiis -pef system.web/identity D:\WNTFSPrjs\HauptPharma\Web\Web2011\Dev\Querplex.HauptPharma.XPress.Web



© Willi Neuner 2019 Impressum