If you want to encrypt database user credentials that they are not displayed as plain text in web.config file, you can do this using aspnet_regiis.exe.
-
Open a command prompt as administrator.
-
Perform this command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pef "SmartPlantConfiguration/SmartPlantDefaultConnection" <ProductRootLocation>\Web\DataBroker
This encrypts the section in the web.config file where m_service username, password and database is specified.