question about clients accessing MySQL database
Posted: Thu Dec 05, 2013 3:13 pm
I'm not a trained programmer or database administrator, but I've created a stand-alone application that uses a MySQL database for doing student and program assessment at our school. We have a very knowledgeable consultant that supports our servers and works closely with me. I realized that the permissions he set for the MySQL database would not allow any other computer to access the database than my workstation. So I told him I needed for instructors, not only on campus but adjuncts away from campus, to be able to run the application, get information from the database, and insert data from their student evaluation. His reply to my request is:
"We can definitely open it up but this is not a very secure way of running things. Typically in a client server application database is not directly reachable from clients (rather there is a server based middleware that is used to enhance security)."
I searched the forum for "middleware" and couldn't find much information about how others deal with this. Surely this is something developers work with if they create and deploy a stand-alone LiveCode application that makes use of a MySQL database. I seem to have missed something along the way, probably because I originally planned to make this a web application like my previous development of LiveCode server scripts accessing a MySQL database. I didn't realize there would be a difference.
So how do others do this securely? I am having instructors log in with a password that makes use of SHA1 encryption.
-- Tim
(I used HyperCard in the late 80s and love to have it back as LiveCode.)
"We can definitely open it up but this is not a very secure way of running things. Typically in a client server application database is not directly reachable from clients (rather there is a server based middleware that is used to enhance security)."
I searched the forum for "middleware" and couldn't find much information about how others deal with this. Surely this is something developers work with if they create and deploy a stand-alone LiveCode application that makes use of a MySQL database. I seem to have missed something along the way, probably because I originally planned to make this a web application like my previous development of LiveCode server scripts accessing a MySQL database. I didn't realize there would be a difference.
So how do others do this securely? I am having instructors log in with a password that makes use of SHA1 encryption.
-- Tim
(I used HyperCard in the late 80s and love to have it back as LiveCode.)