Introduction:
Here I will explain how to encrypt and decrypt connection string in app.config file in windows or console application using c#.net, vb.net. we can do encryption and decryption for connection string using aspnet_regiis.exe command line tool in file system website.
Here I will explain how to encrypt and decrypt connection string in app.config file in windows or console application using c#.net, vb.net. we can do encryption and decryption for connection string using aspnet_regiis.exe command line tool in file system website.
Description:
In Previous articles I explained add textbox items to listbox on button click in asp.net, difference between dispose and finalize methods in c#, vb.net, difference between page_load and page_init methods in asp.net, convert numbers or rupees to words in asp.net and many articles related to Asp.net, Gridview, SQL Server, Ajax, JavaScript. Now i will explain how to encrypt and decrypt connection string in app.config file in windows or console applications.
Generally in all applications we will use connectionStrings section in web.config or app.config file to store database connection. The connectionStrings section contains sensitive information of database connections including username and password of database. Is it secured to store the sensitive information of database connections in plain text files called web.config and machine.config files?
In Previous articles I explained add textbox items to listbox on button click in asp.net, difference between dispose and finalize methods in c#, vb.net, difference between page_load and page_init methods in asp.net, convert numbers or rupees to words in asp.net and many articles related to Asp.net, Gridview, SQL Server, Ajax, JavaScript. Now i will explain how to encrypt and decrypt connection string in app.config file in windows or console applications.
Generally in all applications we will use connectionStrings section in web.config or app.config file to store database connection. The connectionStrings section contains sensitive information of database connections including username and password of database. Is it secured to store the sensitive information of database connections in plain text files called web.config and machine.config files?