Jade-S: questions about the security policy


Subject: Jade-S: questions about the security policy
From: Schneider Martin (Martin.Schneider@mchp.siemens.de)
Date: Tue Nov 12 2002 - 11:36:25 MET


Hi!

Some more questions ...

In the Security Administrators Guide in paragraph 2.7 Delegation:
There is an example about permissions to read a text file.

But there is no Jade permission which allows an agent to read files.

ok, there are Java permissions for file IO, but how do I apply them
to agents?

Can I do something like
grant principal jade.security.impl.PrincipalImpl "alice" {
   permission java.io.FilePermission "D:\\tmp\\-", "read,write";
}

and can an agent belonging to alice delegate a restricted permission,
e.g. an agent belonging to bob may only read the file D:\tmp\for_bob.txt.
(He may not write into it and he may not read/write anything other in
D:\tmp?)

Do you have already any answers to my questions from last Friday?

Martin
=================================================
Martin Schneider
Siemens AG
CT IC 6 Intelligent Autonomous Systems
tel.: +49 89 636-44257 fax.: +49 89 636-41423
e-mail: Martin.Schneider@siemens.com
 



This archive was generated by hypermail 2a22 : Tue Nov 12 2002 - 11:37:11 MET