Less errors are possible, but the possibility for them still exists. Your policy will simply give you unexpected and incorrect results. Conclusion Customization and management of security has always been possible in Java, but its implementation has definitely improved over earlier releases. The security manager concept remains essentially the same, but now new additions to the java.security package offer increased flexibility and control. If the SecurityManager is the Godfather of security, the AccessController is the Enforcer of security policies.
Users now have the control in their hands to define their particular security needs.
Wise developers will think security all the time. As Java gains more strength in enterprise systems, the need for security becomes increasingly crucial to your success. A flexible security architecture like the one introduced in JDK 1.2 gives you the tools you need to achieve the goal of Security Everywhere. About the author Todd M. Greanier has been programming in Java since its initial release. He works for Lake Systems Inc., where he has been teaching Java classes for the past two years all over the United States for Sun Educational Services .