Through .htaccess you can lock a directory from veeing accessable through the internet.
But I guess that it's easier to hack the textfile than hacking the db server.

I would suggest to use php between gamestudio and db serber. Through http post you can talk with the php scripts. This way you can define an explicit interface how the db server can be accessed.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version