[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [equinox-dev] Enabling security in Equinox
- From: "David Conde" <dconde@xxxxxxxx>
- Date: Fri, 30 Oct 2009 08:53:07 +0100
- Delivered-to: email@example.com
- Thread-index: AcpY+DK/wqs3yVhjSX6mY3nQGIFXxQAPUkOQ
I think there is no possibility to configure Conditional Permission with
policy file. IF you do not want to do it programatically, you should use
Local Permission which are defined in permissions.perm file. I think this
restriction in Conditional Permission is because of security matters.
De: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx]
En nombre de tom.hsu@xxxxxxxxxx
Enviado el: viernes, 30 de octubre de 2009 1:31
Para: Equinox development mailing list
Asunto: Re: [equinox-dev] Enabling security in Equinox
I now realized that I need to provide system permissions for the
Conditional Permission Admin service in order to secure behaviors of
some installed bundles. Please confirm my understanding:
1. The example showed in the PDF seem to suggest achieving this using
privileged bundle to assign restricted permission objects for the new
2. #1 approach needs to be done programmatcally?
3. Is there a way to achieve the restriction of bundles coming from
known location <A> to have a limited set of permissions with a
configuration file like custo_java.policy?
On 10/28/2009 3:10 PM, Marcel Offermans wrote:
> Hello Tom,
> On Oct 28, 2009, at 22:46 , Tom Hsu wrote:
>> I have an usecase in which we'd like to secure the behavior of some
>> particular bundles at runtime. We have an OSGi equinox application
>> that will install custom bundles during runtime and execute code from
>> those custom bundles. We'd like to restrict the execution of those
>> code to specified work directories for security reasons.
>> I have searched for a morning about a quickstart guide to enable
>> java.policy style permissions for installed bundles by the OSGi
>> equinox fwk. But I have not found any easy documentation besides osgi
>> specifications on Admin permission and conditional admin services.
>> Can someone point me to some documentation?
>> In short, I want to restrict runtime-installed bundles to have
>> limited IO privileges. Thanks.
> Last year at EclipseCon, Karl Pauls and I did a workshop on secure
> OSGi applications. Amongst other things we discussed how to run both
> Equinox and Felix with security. There are slides in the PDF that
> explain the command line options you need.
> Small disclaimer, this information is over a year old and might be a
> bit outdated here and there, but still it might be a good starting point.
> Greetings, Marcel
> equinox-dev mailing list
equinox-dev mailing list