
Securing Your Java Code • Chapter 7 323
design. Sun Microsystems has recognized this and now provides guide-
lines that specify how to create a secure system without any holes.The
complete guidelines are available at http://java.sun.com/security/
seccodeguide.html.The are three sections to Sun’s recommendations:
■
Privileged code guidelines
■
Java code guidelines
■
C code guidelines
Privileged Code Guidelines
In this chapter, we have learned how to create security managers that
restrict code from doing certain operations. Unfortunately, these restric-
tions will apply to all of the code running in the JVM. Sometimes you
would like to restrict all of the code, ...