Sumeet Gaikwad<br />SCJP, SCWCD<br />-----------------------------------------------------------------------------------<br />Nothing is impossible because it spells... I M Possible !!!
hi sumeet there are two places u can put security options. 1. .java.security in the USER's HOME directory 2. java.security in the java.home/lib/security/java.policy (or the java.home/jre/lib/sercurity/java.policy) java.home is the directory where u installed java. i'm not dead sure about the 2nd location as i found two different paths at different reference sites. but i'm sure either it's in JRE/lib/security directory or the simple lib/security (for me it was in jre/lib/security on Linux)... in short, find out java.security on Mac system as java.security is generally scanned first for security options and that sets options for all the users on the system. if u use USER HOme directory's .java.security file then it applies to only that specific user ( i guess u already knew this). so if u put ur settings in java.security it should work. i am not a great user of Mac OS so i don't know where it keeps USER's HOME directory etc....so i suggest Brute Force approach let me know if u r able to find USER's HOME directory on MAC OS and able to put restrictions on .java.security file.... well, one of my friends just told me that all the user's home directories should be under "users" directory in the Mac OS Root directory. so if u r user "YourName" then it should be "::users::YourName" directory (i am neither sure of the file path seperator in Mac bare with me) regards maulin.
Joined: Nov 04, 2001
hi sorry. i made confirm about the file path seperator. its ":" in Mac OS.
Joined: Mar 07, 2002
Dear Maulin Thanks for your valuable reply... I got solved the problem and now checking the post. But anyway thanks. on MAC OS the USER'S HOME directory is /Users/systems/ I put the .java.policy file in USER'S HOME directory. and security file in java.home/jre/lib/ext/java.security But I come to one conclusion that its a very difficult to work on "Java on MAC OS".... -Sumeet
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com