File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Security" Watch "Security" New topic


Kumar Kausikasa
Ranch Hand

Joined: Jun 04, 2002
Posts: 45
I did not see special security forum, so i am posting here. Sorry if this an irrelevant one.
Here is my problem:
When i want to use a policy file, i do this while starting the JVM :-
java security policy i want to use.
But istead of giving on the command line while running, I want to include this in the program itself , how can i do this?
since i am setting a property which is "", i saw the API of, but could not figure it out how to do
Can someone help me
Thanks for your time
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
Moving to Java in General (Intermediate)

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Try this:


Regards, Rene Larsen
Dropbox Invite
I agree. Here's the link:
subject: Security
It's not a secret anymore!