Jump to content

Question about secure remote access


Hobbyist_PHPer

Recommended Posts

MySQL client version: 5.1.63

 

Hello everyone

 

My question is this, I have a database that is not only the backend database for my SAAS type application, but is also the database for all transactions for multiple sites... currently those sites are hosted on my dedicated server, and don't have ftp access to see the database connection information, but in the real near future I'm going to have to figure out a way for sites that are not hosted with me, that have their own ftp access, to be able to connect to the database... How can I do that without compromising the security of the database?

 

I have a few ideas, not sure if they are sufficient or viable though... create a new mysql user for each website/user, give them only CRUD privileges, require that they have a dedicated IP address for their website so that I can add that IP address to a list that can remotely access the database... That's about all I have unless there's a way to say that a particular mysql user can only access records that have their ID in the tables...

 

Link to comment
https://forums.phpfreaks.com/topic/264162-question-about-secure-remote-access/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.