db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Kartha" <karth...@gmail.com>
Subject Re: security question
Date Fri, 12 May 2006 22:40:40 GMT
Hi,

Did you try setting the following properties in the respective databases:

*derby.connection.requireAuthentication
**derby.authentication.provider
derby.user.<user name>
...
*

as mentioned in the documentation at:

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 < theprophet18@gmail.com> wrote:
>
> Hello Everyone
>
> I 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.
>

Mime
View raw message