File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes Security Settings Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Security Settings" Watch "Security Settings" New topic
Author

Security Settings

Vladimir Kositsky
Ranch Hand

Joined: Nov 03, 2000
Posts: 116
Hi!
I was trying to run example program from wrox book.
If i understood right,this example mention changing JDK1.3/jre/lib/security/java.policy to

But program works only if file placed it to C:\WINDOWS directory (C:\JDK1.3) under name ".java.policy" (!!).
I got quite messed with this staff, probably i need to change java.security settings. What exactly i need to change?
2.I found in archive of this conference nice example of custom policy setting, unfortunatelly i could not use it and no following running consequences explained, and this example probably for UNIX platform

What could be put instead of myserver.com if file containing server named for instance Server.class and client and server are running on the same mashine?
Thanks in advance

[This message has been edited by Vladimir Kositsky (edited May 10, 2001).]
[This message has been edited by Vladimir Kositsky (edited May 10, 2001).]
[This message has been edited by Vladimir Kositsky (edited May 10, 2001).]
[This message has been edited by Vladimir Kositsky (edited May 10, 2001).]
 
IntelliJ Java IDE
 
subject: Security Settings
 
Threads others viewed
MindQ
policy file urgent ?????????
RMI ...
help!!! java.security.access controlException
java.security file policy setting not working...
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com