Basic HTML version of Foils prepared May 19 99

Foil 66 JAVA Fine-grained Access Control-2

From Remarks on Internet and Java Security Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Geoffrey Fox, Mehmet Sen


Implies: All permissions must implement the implies method "a implies b" means that if one is granted permission "a", then one is also granted permission "b" Permission p1 = new FilePermission("/tmp/*", "read"); Permission p2 = new FilePermission("/tmp/readme", "read"); p1.implies(p2) == true p2.implies(p1) == false Policy: is a mapping from identity to a set of access permissions granted to the code. An example policy object ; grant CodeBase "http://www.npac.com/users/gcf", SignedBy "*" { permission java.io.FilePermission "read,write", "/tmp/applets/*"; permission java.net.SocketPermission "connect", "*.npac.com"; };



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999