Did you try setting the following properties in the respective databases:
derby.connection.requireAuthentication
derby.authentication.provider
as mentioned in the documentation at:
derby.user.<user name>
...
http://db.apache.org/derby/docs/dev/devguide/rdevcsecure13713.html
That should help in controlling access to a particular db. Is this what you were looking for.
Regards,
Rajesh
On 5/12/06, Souciance Eqdam Rashti
<
[EMAIL PROTECTED]> wrote:
Hello EveryoneI have a rather annoying problem. I was wondering if anyone could provide sample code as to how I can restrict a user to a single database or basically a certain number of database. So for example user fred would only be allowed to access accounting and not sales.It seems to be that once a user gets database access he can login into any database but I want to restrict a user to a certain database. Thanks.
