Jump to content

Bad Customer : How to Kill his VPS db connexion ?


Abaksoft

Recommended Posts

Hi friends,

- Assume we have 10 customers on 10 Folders on a VPS.

- Each Customer has his own database :  

  ...\Customer_1\Base1.fdb

  ...\Customer_2\Base2.fdb

  ...\Customer_3\Base3.fdb

 
- Assume Customer 2 don't want to paye his annual subscription !
 
So, Is there a tip to disconnect only Base2.fdb from the VPS Server ?
(The others db must be run.  I am using FireBird)
 
______
PS :  assume Base2.fdb  is always connected 24h/24 from the customer2. So renaming the file Base2.fdb is not a good way.
 
THX.
 
Link to comment
Share on other sites

Hi Majori,

 

Oh...a good idea !

 

1. > ...you can close(Block) his port

How can I give a special port for each customer ?  FireBird has only one port ?!

 

2. >... to stop and start Customer2 service 

How can I do this ?

 

Thank you very much...

Link to comment
Share on other sites

Why don't you create a "master" database that makes the login ?

You store there customer information, payd fees, connection parameters etc in it.

If he pays you send him to  /customer_n.fdb, if he does not pay , at login you send him fishing !

  • Upvote 1
Link to comment
Share on other sites

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.   Paste as plain text instead

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