This blog shows how to encrypt the connection strings area in web.config for an ASP.NET website. Later on it can be accessed in the website pages and also it can be decrypted again if required.