Click here to Skip to main content
15,905,867 members

Comments by Michel Jonk (Top 3 by date)

Michel Jonk 2-Sep-14 11:13am View    
Alright, I have still two question left. If I use encryption is this possible: http://msdn.microsoft.com/en-us/library/89211k9b%28VS.80%29.aspx App.config Example
Or is this not secure enough?

And how would I encrypt the connection string with the machine's details?
Because encrypting the connection string with specific information from the machine is a smart idea. But how would I encrypt the connection string. I'd first need the connection string in plain text. So I can encrypt it with the machine's details. And if I do this then I'd need to give my program the connection string in plain text. So it can encrypt it. But this will make my connection string viewable if not started for the first time. Or am I seeing this whole wrong?
Michel Jonk 2-Sep-14 10:50am View    
The connection string stays the same, doesn't matter which country someone lives in. They all are trying to connect to my MySQL server. All to the same IP address.

And why I cant encrypt my connection string in app.config. Because if someone else tries to decrypt it. Then it doesnt work because the encryption is machine specific. So it only works on my windows machine. Maybe im doing it wrong, but i dont know what I am doing wrong if that is the case. Btw thanks for helping.
Michel Jonk 2-Sep-14 10:40am View    
Yes the whole program uses one connection string.