Anil
InstantDB was first written under JDK 1.02 when the granularity of Java
security was much less refined. Unfortunately there are still a few
leftovers from that time including several calls to getProperties().
On your need for username/password functionality, I'm afraid that won't
be happening anytime soon. I'm currently focusing all my efforts on
readying InstantDB for its first open source version.
Pete
----- Original Message -----
From: "Anil Hemrajani" <anil@isavvix.com>
Date: Thursday, February 1, 2001 6:49 pm
Subject: InstantDB: SecurityException
> Why does InstantDB need "* read,write" permissions to
> all system properties?
>
> We need to operate our server in a sandbox environment
> using security policy files to limit file/network access.
>
> Here is the exception message from InstantDB in this
> secure environment:
>
>
> java.security.AccessControlException: access denied
> (java.util.PropertyPermission * read,write)
> at
> java.security.AccessControlContext.checkPermission
(AccessControlContext.java
> , Compiled Code)
> at
> java.security.AccessController.checkPermission
(AccessController.java,Compiled Code)
> at
> java.lang.SecurityManager.checkPermission(SecurityManager.java,
Compiled
> Code)
> at
> java.lang.SecurityManager.checkPropertiesAccess
(SecurityManager.java:1215)
> at java.lang.System.getProperties(System.java:483)
> at org.enhydra.instantdb.db.Database.<init>(Database.java:141)
> at
> org.enhydra.instantdb.jdbc.idbConnection.<init>
(idbConnection.java:66) at
org.enhydra.instantdb.jdbc.idbDriver.connect(idbDriver.java:40)
>
>
>
>
> Anil
> ______________________________________________________
> iSavvix Corporation (formerly Divya, Inc.)
> Excellence in emerging Java Technology based solutions
>
> Solutions:
> - Professional Services
> - Application Development and Integration
> - Wireless Solutions
> - Creative Design Work
> - Architecture, Design and Code Review
> - Seminars, Training and Mentoring
> - Performance Analysis and Tuning
>
> http://www.isavvix.com
> mailto:anil@isavvix.com
> Tel: +1 571 203 9800 x11
> Fax: +1 571 203 9801
> Cel: +1 703 801 ANIL
> _____________________________________________________
>
> -------------------------------------------------------------------
> ----------
> To unsubscribe from this mailing list, send email to
> majordomo@enhydra.orgwith the text "unsubscribe instantdb" in the
> body of the email.
> If you have other questions regarding this mailing list, send
> email to
> the list admin at owner-instantdb@enhydra.org.
>
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|