Reputation: 2509
In a MVC project we have a web.config file and multiple config files other then that.
I was able to encrypt connection string in web.config using aspnet_regiis. Can you pleased guide how I can encrypt data in configuration files other then web.config using aspnet_regiis ?
Thanks
Upvotes: 2
Views: 597
Reputation: 119806
You can't encrypt other files. You can only encrypt web.config
or, if the -pkm
switch is provided, the machine.config
file.
Upvotes: 1