Hi,

You can't currently do that in H2. You need to do it in the firewall on the machine.

Ryan


On 26/05/2013 12:33 PM, Jay Lee wrote:
Hi All,

I am using H2DB in TCP server mode.
The only thing missing or I can't find is that
how to block clinet connection based on IP address.

For example if I want to allow only several clients in my subnet
, 192.168.0.7 and 192.168.0.8 to connect H2DB.
How do I do that?

Currently I start the TCP server with "-tcpAllowOthers" option.

Server.createTcpServer(new String[]{
    "-baseDir", "/h2db"
    , "-tcpPort", "19083"
    , "-tcpAllowOthers"
    }).start();

Thanks,

Jinhee
--
You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




--
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to