Re: how can i control jini client to acccess entries in my javaspace?

Calum Shaw-Mackay <[email protected]> Wed, 7 May 2008 09:35:53 +0100
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Well, it depends on a couple of things - whether you want to control
access to the space overall, access to specific classes of entries, or
specific entries based on some given criteria on the entry itself. So
I'll go through  this one-by-one

Restricting client access to the space at all - you could use Jini's
security mechanism, and policy files - by specifically not enabling
access to the javaspace dl i.e. _not_ putting in 'grant codebase <java
space dl location>

You can also do this for restricting classes of entries - you'll get
UnsabelEntryExceptions or ClassNotFoundException

The best. most flexible, but most hard work, is to encrypt the entries
within the space - I do something like this for secure Neon. If you
give me a couple of days I'll get a blog posting up about it


Cheers

--Calum



2008/5/7 liang li <[email protected]>:
> hi, all,
>
>     when i think about the safety of my info, i dont know how to control
> jini
> clients to access entries strored in my javaspace(for example, blitz)?
>
>    any help?
>
> best regards
> byron lee
> --------------------------------------------------------------------------
> Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community
> Web Site: http://jini.org jini-users Archive:
> http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email
> "signoff JINI-USERS" to [email protected]

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html