Reputation: 73
I need to encrypt web config when deploy on live server for security reason
Upvotes: 2
Views: 1146
Reputation: 1524
There is two way to make your webconfig connection string secure.
1.There is IIS tool aspnet_regiis.exe IIS registration tool which will encrypt your connection string . here is the command
aspnet_regiis.exe -pef "connectionStrings" C:\
drop your web.config in c drive. here is the doc -Aspnet_regiis.exe documentation
Upvotes: 3