• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet connectivity

 
Santosh Pasupuleti
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can an applet connect to arbitrary hosts (other than the host from where the applet is down loaded) if an applet is signed?
 
amol deshpande
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It needs to be given right to do so in policy file. (Jdk 1.2 and above).

Amol
 
Santosh Pasupuleti
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Amol. Could you please let me know how do I give the rights to the applet policy file? Where can I locate the policy file?
 
Santosh Pasupuleti
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amol,
Thank you very much for answering my question.
Could you please let me know how do I give the rights to the applet policy file? Where can I locate the policy file?

Regards
Santosh
 
Laxmi Raghu
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
U can create a your own policy file using java policy tool and give whatever permission you want.
 
amol deshpande
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
use 'policytool' s/w which is a part of JDK and that allows u to modify policy through a UI. Essentially it creates the '.java.policy' file which if you are knowledgable, can modify by notepad.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!