ITworld.com
  Search  
ITworld Home Page ITworld Webcasts ITworld White Papers ITworld Newsletters ITworld News ITworld Topics Careers ITworld Voices ITwhirled Changing the way you view IT
Application Specific Security Policies
JAVA TUTOR --- 08/21/2002

Todd Sundsted

The security properties file java.security specifies the location of the system-wide security policy files. In turn, these security policy files affect the behavior of all Java applications run by the associated JVM. 

On this topic

The -Djava.security.policy command-line argument allows the user to specify the location of a security policy property file.

java ... -Djava.security.policy= ...

The policy file specified in the example above does *not* replace the system-wide policy files. Instead, the specified policy file is used in conjunction with the system-wide policy files specified in the security properties file.

At times, this aggregation of policies is undesirable. In these cases, it is possible to use a specific security policy file instead of the system-wide policy files. To specify such a file, use a double equals sign ("=="), as in the example below:

java ... -Djava.security.policy== ...

Only the specified policy file will be used. All others will be ignored.

 

Todd Sundsted has been writing software since computers became available in desktop models. His interests include security, distributed computing, and the dynamics of massively fine-grained architectures. In addition to writing, Todd codes. Todd can be reached at Todd.Sundsted@itworld.com.



Advertisements
Sponsored links
Bring harmony to your mix of UNIX-Linux-Windows computing environments
Top 5 Reasons to Combine App Performance and Security
KODAK i1400 Series Scanners stand up to the challenge
Locate Hidden Software on business PCs with this free tool
 Home   Newsletters  JAVA TUTOR
www.itworld.com    open.itworld.com     security.itworld.com     smallbusiness.itworld.com
storage.itworld.com     utilitycomputing.itworld.com     wireless.itworld.com

 
Contact Us   About Us   Privacy Policy    Terms of Service   Reprints  

CIO   Computerworld   CSO   GamePro   Games.net   IDG Connect   IDG World Expo   Industry Standard   Infoworld   ITworld   JavaWorld   LinuxWorld  MacUser   Macworld   Network World   PC World   Playlist  

Copyright © Computerworld, Inc. All rights reserved

Reproduction in whole or in part in any form or medium without express written permission of Computerworld Inc. is prohibited. Computerworld and Computerworld.com and the respective logos are trademarks of International Data Group Inc.