Security is one of the major aspects in terms of a web application. Security can be implemented using different methods in a web application. One of the main components, which required high security, is the configuration files, where we will define the configurations. In this document, we will discuss about the simple way to protect the web.config entries.
For more details, please refer http://www.dotnetfunda.com/articles/article1572-encrypt-and-decrypt-webconfig-.aspx