MOHAMED JACKARIAH

MOHAMED JACKARIAH

  • NA
  • 43
  • 23.1k

Web.Config Encryption and Decryption

Oct 24 2012 2:03 AM
Hi Friends,

             using the Deployment installation package i publish the website in my machine with encrypted config files, and i export the website and imported into another machine that is also success. 
            When i decrypt the configuration file from imported machine using the following command.

            c:\windows\Microsoft.NET\Framework64\v4.0.30319> aspnet_regiis -pdf "connectionString" "<Configuration file path>"

 The above command is execute successfully in my machine, But website imported machine configuration file is not decryption. for encryption i am using the RsaProtectedConfigurationProvider.

Can any one give me how can Encryption and Decryption with all the machine.