简体   繁体   中英

VB.NET Mysql, should I use a MySQL Connector?

I am making a program that is connecting to a MySQL database and I want to know if it is safe to use a MySQL Connector, I am going to be releasing it to the public but I dont want the database info to get leaked so I am going to obfuscate the code.

Is it safe?

thanks, -adam

No; that's not safe at all .

If you put your database credentials in the public, you will be attacked, no matter what you do with them.

Instead, you can:

  • Not release the database credentials.
  • Release the credentials of a user with no write access
  • Use an access-controlled web service instead of accessing MySQL directly

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM