Question

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

Was it helpful?

Solution

You can't encrypt other files. You can only encrypt web.config or, if the -pkm switch is provided, the machine.config file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top