Hi Guys, I created executable jar file for client and server and I am wondering what should I do with policy file ? Should I add it to that jar file and that would be enough?? Thanks in advance Sam
posted 14 years ago
Hi Sam, I doubt that you can use a policy file from the same jar file that an aplication runs from since that would be a very simple way to bypass security. Just put the policy file in the same directory as the executable jar and invoke it from the command line with:
Hope this helps, Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads