I
I
Ivan Kurnakov2015-05-07 10:34:32
Encryption
Ivan Kurnakov, 2015-05-07 10:34:32

How to encrypt app.config config file in C#?

Can you please tell me how to encrypt data in app.config? Specifically interested in the section with connection strings, but in the general case it would be useful to know.
On the Internet, this method was found. But, as you can see, it is applicable only for ASP.net and IIS, which does not suit me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bmforce, 2015-05-07
@Skinner2170

Alternatively: www.a2zmenu.com/Blogs/CSharp/How-to-encrypt-config...
In general, you can use any encryption algorithm for connection strings, the only question is, what qualifications are you hiding these strings from people :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question