How to bind_address in CUBRID?
MySQL has this bind_address parameter that users can configure to allow only the indicated IP to access the server. Is there any way to bind IP address in CUBRID? Otherwise, how to configure it so that only specific IP address could access the server?
In order to restrict the database access by IP, cubrid.conf main configuration file must be modified.
The details of how to set the allowed IP address or "bind_address" for each database are described in the manual here:
http://www.cubrid.org/manual/840/en/Database Server Access Limitation
Briefly, you must add these lines to cubrid.conf:
# cubrid.conf
access_ip_control=yes
access_ip_control_file="/home1/cubrid1/CUBRID/db.access"
and the db.access file should look like:
[@dbname1]
10.10.10.10
10.156.*
[@dbname2]
*
[@dbname3]
192.168.1.15
If you have already done this and want to change the db.access file, just run the following command after you modify the file: