Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top