Hello I am looking for some advice. For an Advanced C++ Programming Course I am taking another student and doing a project. For this project we plan on using a MySQL Database as our backend database.I would like to setup a remotely accessible MySQL Database that we can use for the project such that we can be using the same database to test our programs ,also this way we can use the computers in the computer lab to program on, since we won't have to bring a computer with MySQL Installed on it to class to work on our program.
What I am worried about is the security of doing something like this, what I plan on doing is creating a database and a user. What I would like to do is to allow remote MySQL Connections to database from my user account and to restrict root logins to localhost (if I need to login to the database as root I can SSH to my Unix Server and then login as mysql root locally so the traffic will be encrypted) . what I am looking for is some advice on how I can best secure this database.
I don't plan on using SSL to login to the database as "user" from our program since this will require even more third party libraries (OpenSSL) be added to our project and I really to keep the number of libraries we are using down.
What I am looking for is some advice on how I can best secure this system. I will only be keeping it up for the semester and will be taking it down and re imaging it when I am done. It is going to be located on a DMZ with the only other host on the network being an OpenBSD web server that I am running.
I plan on using the mysql_secure_installation script that is included with MySQL Server on OpenBSD when I set it up so that test users and databases are removed is there anything else I should do other than keep the system patched, not allow root logins remotely and use strong passwords?
Thank you for taking the time to answer my question