Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
1.6k views
in Java FTP by (160 points)
It's been many years since I wrote applets, but I recall that an applet can only connect back to the IP from which it was downloaded? Maybe there's a way around that.

3 Answers

0 votes
by (51.6k points)
It's possible to have the applet request permissions to access other IP addresses as well - here.
0 votes
by (160 points)
Not sure what happened to my original post. It has been overwritten by the first post above. It is posted under my user name but I didn't post it. My question related to a socket.permission connectm resolve error.

The applet is being loaded from the machime that I am trying to connect back to. I have found that if I run the applet under jre 1.7 on the client then all is ok. If I run it under 1.8, it fails with the socket permission error,
0 votes
by (51.6k points)
That's very strange.

We've given up trying to keep track of all the security changes Oracle is making to Java applets. In fact, these changes caused us to abandon our own FTP applet product, IntegralFTP. One thing I do know is that you need to include in the manifest the name of every domain from which you're serving the applet. This may or may not be the source of the problem you're seeing. I'm sorry I can't help you any further with this.

- Hans (EnterpriseDT)

Categories

...