Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we encrypt the entire config file?

Is it possible to encrypt the whole app.config file rather than encrypting any particular section of the config file using VB.Net ?

like image 953
Smruti Ranjan Sahoo Avatar asked Nov 21 '11 15:11

Smruti Ranjan Sahoo


People also ask

Should you encrypt config files?

Encrypting the config file doesn't make anything better, it just makes the administration harder, with no noticeable improvement in security. In the end you have to rely on the security of your machine holding that credential. Harden it as good as possible, restrict access to it as good as you can.

How do I secure a config file?

To secure passwords for configuration parameters, you can use an encrypted password file, separate from the configuration files. The pr0pass program maintains the password file, encrypting passwords for parameters in the configuration files.

Should I encrypt all files?

Protect Your Identity and CreditEncrypting the files, folders or entire hard drive on your computer can be an important step in keeping your personal and business information secure. In turn, this can help protect you from identity theft.

How do I decrypt an encrypted config file?

To decrypt encrypted configuration file contents, you use the Aspnet_regiis.exe tool with the -pd switch and the name of the configuration element to be decrypted. Use the –app and -site switches to identify the application for which the Web. config file will be decrypted.


1 Answers

Try with Cryptography Application Block from Enterprise Library. MSDN

Max

like image 124
Max Avatar answered Sep 23 '22 07:09

Max