Encrypt web.config file
-
Hi I am not able encypt web.confige file. I am able to Create a custom RSA key container by running command C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pc “MyKeys” -exp after Specify a protected data provider in web.config file and running on following command to encypt the web.config file it gives the list of all command related to ASP .NET registration options and my web.config file is not encrypted C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef "SensitiveAccountInfo" "path" -prov “MyProvider” Please Help me in it. Thanking You!.
Rock Star
-
Hi I am not able encypt web.confige file. I am able to Create a custom RSA key container by running command C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pc “MyKeys” -exp after Specify a protected data provider in web.config file and running on following command to encypt the web.config file it gives the list of all command related to ASP .NET registration options and my web.config file is not encrypted C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef "SensitiveAccountInfo" "path" -prov “MyProvider” Please Help me in it. Thanking You!.
Rock Star
Did you read this tutorial ? http://msdn.microsoft.com/en-us/library/ms998283.aspx[^] :)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Windows7 API Code Pack
Simplify Code Using NDepend
Basics of Bing Search API using .NET -
Did you read this tutorial ? http://msdn.microsoft.com/en-us/library/ms998283.aspx[^] :)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Windows7 API Code Pack
Simplify Code Using NDepend
Basics of Bing Search API using .NET -
Hi I am not able encypt web.confige file. I am able to Create a custom RSA key container by running command C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pc “MyKeys” -exp after Specify a protected data provider in web.config file and running on following command to encypt the web.config file it gives the list of all command related to ASP .NET registration options and my web.config file is not encrypted C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef "SensitiveAccountInfo" "path" -prov “MyProvider” Please Help me in it. Thanking You!.
Rock Star
hi, you can follow the steps as below: step1: Make sure These are not encrypted,such as Step 2, Create a RSA key container, you can use the command :aspnet_regiis -pc "ABeenKeys"–exp Step 3, Modify web.config to identify the key container Step 4 , Encrypt the section of your web.config file > aspnet_regiis -pe "connectionStrings" -app "/connectionTest"