Basic HTML version of Foils prepared May 19 99

Foil 88 Signing Code with Sun's Java 2-IV

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


1 Make a Simple Policy for Signed Applets
2 Example .java.policy is
3 keystore ".keystore";
4 grant signedBy "friend";
5 codeBase "http://www.friendly.com/~mybuddy/applets/"
6 {
7 permission java.io.FilePermission "c:\\tmp\\*", "write";
8 };

in Table To:


© 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