| ★ wanayoo — archive 1999 http://java.sun.com/features/1999/11/security.html | Nouvelle recherche | Portail wanayoo |
![]() |
|
||||
|
FINE-GRAINED SECURITY The Key to Network Safety: Strength in Flexibility Visa International and the Java 2 Security Model | Face to Face with Dr. Edward W. Felten The traditional boundaries between proprietary business networks and the outside world are rapidly melting away. But these expanded points of contact bring with them new risks in terms of security. At the same time, networked computational devices increasingly include everything from telephones to pagers, to smart cards. The JavaTM 2 platform security model meets this business shift head on, offering fine-grained security features that are configurable at the level of file, directory, and network connection. And Java technology's scalability makes it easy to extend this secure platform to whatever new networked technologies may come down the pike.
With these considerations in mind, the JavaTM 2 platform was built with a sophisticated model of security as a key design feature. It is a policy-based model that is easily configurable, and provides fine-grained access control. Perhaps the greatest advantage of the model is its flexibility. It gives businesses the ability to access and affect a wide spectrum of functionality, while still protecting themselves from security breaches. Evolution of the JavaTM Platform Security Model
The original JDKTM 1.0 version security model consisted of the simple duality of "trusted" local code and "untrusted" remote code. Any remote code was restricted to the "sandbox" -- an execution area with extremely limited access to system resources (such as the ability to read and write to a local file). This model provided a very high level of security. But because it was so secure, it proved to be too limiting for many uses. For example, with JDK 1.0 software it was impossible to implement simple facilities like an applet-based word processor with the capacity to save a file to the local disk. This blanket discrimination policy against applets was later relaxed somewhat in the JDK 1.1 version security model. Here the concept of a digitally "signed" applet was introduced. Signed applets, delivered along with their signatures in the Java Archive (JAR) format, were deemed "trusted." And as such they were afforded all of the powers and privileges (and risks) of trusted local code.
But the Java 2 platform security model addresses this issue head-on. It provides a fine-grained and easily configurable security architecture. It delivers the level of security businesses and developers require, while providing the flexibility and functionality needed to create rich enterprise applications. JavaTM 2 Security APIThe Java 2 Security API is core to the Java 2 platform. It applies the same fine-grained security model uniformly across the system -- whether the code in question is local or remote; an applet or an application; a bean or a servlet.
The security model is policy-based, meaning it separates out the actual permission specifics from the runtime code. This means that administrators can define the permissions granted to a given executable via an externally configurable policy file. Such a file establishes a fine-grained level of access control -- defining read/write/execute permissions for specific files and directories, as well as allowable network connections. The Java runtime environment maintains a mapping from code objects to their protection domains (groupings of objects from the same network location and with the same digital signature), and from there, to their respective permissions. At runtime, if a given thread of execution crosses multiple security domains, it is constrained by the intersection of permissions restricting those various domains. As a result, a less powerful domain cannot gain added permissions by calling a more powerful domain. Elements of the JavaTM 2 Platform Security ModelThe Java 2 Platform, Standard Edition includes the fine-grained security model outlined above. In addition, it includes three new tools to augment its security architecture, namely: keytool, jarsigner and policytool.
The Java Security API, combined with keytool, jarsigner and policytool, defines the core Java 2 platform security model for both the Java 2 Platform, Standard Edition and the Java 2 Platform, Enterprise Edition. However, the security story does not end here. There are a number of optional packages that can be added to enhance security. Specifically:
True Innovation -- Standing on ShouldersThe Java 2 platform security model, like the rest of the Java platform, was developed through a community participative methodology called the Java Community Process. The Java security model has evolved with the help of countless developers, along with noted security experts from IBM, Hewlett-Packard, Intel, Digital, Netscape, Microsoft and Oracle, and others. The model has also been the beneficiary of significant contributions from such respected security experts as Ed Felten of Princeton University, Peter Newman of the Stanford Research Institute, Jerome Salzer of MIT, and Fred Schneider of Cornell University. The resulting specifications offer both open and highly interoperable solutions. They are designed to be platform independent, scalable and interoperable with other technologies, and they offer fine-grained and easily configurable security. And through the Java Community Process, the Java security model has a clearly defined mechanism for rapidly evolving and responding to the growing and ever-changing needs of the business community. Technologies offered by other vendors consist of a collection of end-to-end Web development products that are inextricably tied to the environment for which they are developed, making the resulting technologies interoperable with other platforms. The Java platform, with its characteristic cross-platform compatibility and its superior security model, is the cornerstone of enterprise critical applications being used by such organizations as Visa International, Charles Schwab, the US Postal Service, The UCLA Medical Center, Banco Brasil, and Hong Kong Telecom. See Also
Visa International and the Java 2 Security Model:
Face to face with with Dr. Edward W. Felten:
JavaTM 2 Platform Security Features Overview:
Java 2 Software Security:
JavaTM Security API Home Page:
Security-Specific Glossary:
About the Author Steven Meloan has covered the Web and the Internet for such publications as Wired, Rolling Stone, Playboy, and the San Francisco Examiner. He has also written for American Cybercast's award winning Web Episodic, "The Pyramid."
|
|
|
[ This page was updated: 21-Nov-99 ] |
||
|
|
||
|
Products & APIs -
Developer Connection -
Docs & Training -
Support Community Discussion - Industry News - Solutions Marketplace - Case Studies |
||
|
|
||
| Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World | ||
|
|
||
|