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.javaspaces |
|---|---|
| Message-ID | <1c55e2d10805071821n622d449fkd6813aae220f0ad6__16046.6745532633$1210210032$gmane$org@mail.gmail.com> |
------=_Part_22266_2608779.1210209664454
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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]
>
===========================================================================
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
------=_Part_22266_2608779.1210209664454
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<div><font face="times new roman,serif">hi,calum</font></div>
<div><font face="times new roman,serif"> thank you for your kindness!</font></div>
<div><font face="times new roman,serif"> I think my previous letter is not very <font size="2">precise, i want the control action </font></font></div>
<div><font face="times new roman,serif" size="2">take place in the server side(for example, blitz), not the client. in another</font></div>
<div><font face="times new roman,serif" size="2">word, i store some important message in my javaspace, i hope some specified clients</font></div>
<div><font face="times new roman,serif" size="2">can read these entries, others not.</font></div>
<div><font face="times new roman,serif" size="2"> i think policy file which is used to control codes downloaded from remote</font></div>
<div><font face="times new roman,serif" size="2">servers.</font></div>
<div><font face="times new roman,serif" size="2">best regards</font></div>
<div><font face="times new roman,serif" size="2">byron lee</font></div>
<div><font face="times new roman,serif" size="2"></font> </div>
<div><font face="times new roman,serif" size="2"></font> </div>
<div><font face="times new roman,serif" size="2">BTW:</font></div>
<div><font face="times new roman,serif" size="2"> can you tell me you blog url? i expect your next blog showing how to </font></div>
<div><font face="Trebuchet MS" size="2"><font face="times new roman,serif"> encrypt the entries.</font> </font></div>
<p><font face="Trebuchet MS" size="2"></font> </p>
<div><br><br> </div>
<div><span class="gmail_quote">2008/5/7, Calum Shaw-Mackay <<a href="mailto:[email protected]">[email protected]</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Well, it depends on a couple of things - whether you want to control<br>access to the space overall, access to specific classes of entries, or<br>
specific entries based on some given criteria on the entry itself. So<br>I'll go through this one-by-one<br><br>Restricting client access to the space at all - you could use Jini's<br>security mechanism, and policy files - by specifically not enabling<br>
access to the javaspace dl i.e. _not_ putting in 'grant codebase <java<br>space dl location><br><br>You can also do this for restricting classes of entries - you'll get<br>UnsabelEntryExceptions or ClassNotFoundException<br>
<br>The best. most flexible, but most hard work, is to encrypt the entries<br>within the space - I do something like this for secure Neon. If you<br>give me a couple of days I'll get a blog posting up about it<br><br>
<br>Cheers<br><br>--Calum<br><br><br><br>2008/5/7 liang li <<a href="mailto:[email protected]">[email protected]</a>>:<br>> hi, all,<br>><br>> when i think about the safety of my info, i dont know how to control<br>
> jini<br>> clients to access entries strored in my javaspace(for example, blitz)?<br>><br>> any help?<br>><br>> best regards<br>> byron lee<br>> --------------------------------------------------------------------------<br>
> Getting Started: <a href="http://www.jini.org/wiki/Category:Getting_Started">http://www.jini.org/wiki/Category:Getting_Started</a> Community<br>> Web Site: <a href="http://jini.org">http://jini.org</a> jini-users Archive:<br>
> <a href="http://archives.java.sun.com/archives/jini-users.html">http://archives.java.sun.com/archives/jini-users.html</a> Unsubscribing: email<br>> "signoff JINI-USERS" to <a href="mailto:[email protected]">[email protected]</a><br>
</blockquote></div><br>
===========================================================================
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".
<p>
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html
------=_Part_22266_2608779.1210209664454--