How to encrypt Stringconnection to a Mysql remote database in C#

Asked

Viewed 140 times

0

I am developing an application that I intend to sell, and so I created a serial verification system, which checks if that activation code is already associated with the PC MAC. I do this by connecting to a remote database. If anyone has a better and easier idea of how to create this type of serial activation, I am accepting hehehe suggestions

My question is, how do I protect the login information provided by the Connection String.

I have there

connString "SERVER=xxx;PORT=3306;DATABASE=xxx;UID=xxx;PASSWORD=**xxx**;";

I believe that leaves it willing in the code allow you to steal the access data to my database. Is there any way to encrypt this? Or you’d have to do it right on the bank server.

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.