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

liang li <[email protected]> Thu, 8 May 2008 09:21:04 +0800
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
hi,calum
   thank you for your kindness!
   I think my previous letter is not very precise, i want the control
action
take place in the server side(for example, blitz), not the client. in
another
word, i store some important message in my javaspace, i hope some specified
clients
can read these entries, others not.
   i think policy file which is used to control codes downloaded from remote
servers.
best regards
byron lee


BTW:
    can you tell me you blog url? i expect your next blog showing how to
 encrypt the entries.





2008/5/7, Calum Shaw-Mackay <[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_StartedCommunity
> > 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]
>

--------------------------------------------------------------------------
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]