• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security error - access denied ( java.io.FilePermission client.log write)

 
srinivas bolloju
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
While trying to launch an application using webstart i am getting the above error. The application is trying to write a log file named "client.log" in the client machine.
What is the solution for this problem?
Waiting anxiously for your replies,
Srinivas
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi srinivas,
is it ur application? i mean did u write it? OR is it some third party tool?
if it is ur application then u have to sign the jar file for the application used via webstart as WebSTart code follows similar "SandBox" model as applets...
if it is third party application u can contact the tech support if they have or contact the person who wrote it ...
regards
maulin
 
srinivas bolloju
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for ur reply... The application is written by me only....
I have changed the security settings of the computer where i am trying to download by the help of "policytool" ., gave the permission for java.io.FilePermission ... It worked !!!
But i dont think this is the solution... Since it is very difficult to change the permissions in every client machine... I think the signing of jar is required... I dont know what is signing and how to sign the jar giving the permissions required.... If you have time can you please brief me in this area??
Regards
Srinivas
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi srinivas
see if this
helps you achieve what u want..
regards
maulin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic