db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Van Couvering" <da...@vancouvering.com>
Subject Re: Installing a SecurityManager by default when the server boots
Date Wed, 07 Nov 2007 22:51:42 GMT
IMHO, if we are breaking a lot of existing applications, then it was
not a compatible change, and needs to be turned off.  I understand the
value of "secure by default' but I think this has to be balanced
against the value of Derby as a very quickly easy to use and run
database which makes it a favorite of developers.  If it becomes too
security-heavy it loses one of its key value propositions.

Those who want to deploy in production and are worried about security,
we should make it very easy to turn on the security manager, e.g. with
a single flag in the network server startup command.


On Nov 7, 2007 2:02 PM, Rick Hillegas <Richard.Hillegas@sun.com> wrote:
> As of release 10.3, when you boot the network server from the command
> line, the server installs a Java SecurityManager with a default policy.
> This change (DERBY-2196) limits the ability of hackers, connecting from
> arbitrary machines, to use Derby to corrupt the environment in which it
> is running. In addition, this change provides a foundation on which we
> can add more security features incrementally. As a result of this
> change, we have learned more about how Derby behaves when run under a
> SecurityManager--that in turn, has helped us discover more permissions
> which we need to add to the template used as a starting point for
> configuring a Derby security policy.
> Unfortunately, this change has proved painful to some users. See, for
> instance, DERBY-3086 and the ongoing discussion on DERBY-3083.
> Now that we have some experience with the 10.3 release, I would like to
> ask the community to review the wisdom of this change. Do we still think
> that this is the correct default behavior? Or should we consider turning
> off this feature in the upcoming 10.3 maintenance release?
> Thanks,
> -Rick

View raw message