Hi,

> 2. How to start server from application?

The point of using the server mode is that you _don't_ give everybody
rights to access the database file. Only the server process must have
access to the file. Usually people use multiple physical machines to
achieve that (a server machine, and client machines). On the server
machine, the server process is running. Therefore, you don't start the
server within the application that is running on the client machine.

> 1. If we are using encryption, should client connects using this URL?

When the server is running on a separate machine, you don't need file
encryption. So the URL is: jdbc:h2:tcp://10.20.30.40/data/mydb1

> 4. How we prevent database user from dumping data (script to, backup, etc)?

You should define users, roles, and rights.

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to