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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.