Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can Applet be forbidden to connect to the website form which it is downloaded?

 
David Yuan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a mock test, and a Qs asks that Applet can connect to the website from which it is downloaded with socket. I know this is true, but I do remember from some previous reading that this can be forbidden by configuration. Is my memory wrong?
-David.
 
Dushy Inguva
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David,
Yes. An applet can be forbidden from connecting to it's originating website by changing the java.net.SocketPermission attribute (in the policy file) by not having "connect" in it.
Dushy
 
David Yuan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for confirming this...
-David.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic