File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Confusion on Applet Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Confusion on Applet Security" Watch "Confusion on Applet Security" New topic
Author

Confusion on Applet Security

suekar meredilko
Ranch Hand

Joined: Mar 27, 2006
Posts: 153
Pls. confirm.


a)Can an applet (signed or unsigned) make a connection to other machines besides the host if its policy file allows it. Assume it running in a browser and not applet viewer (i.e. code base is not local)

b) Can an applet make write to local files if its policy file allows it. Does it still have to be signed. Assume it running in a browser and not applet viewer. i.e. code base is not local

Is there any exception to signed applets. i.e. irrespective of signing only policy files takes precedence
Maheedhar
Greenhorn

Joined: May 25, 2006
Posts: 2
Originally posted by suekar meredilko:
Pls. confirm.

b) Can an applet make write to local files if its policy file allows it. Does it still have to be signed. Assume it running in a browser and not applet viewer. i.e. code base is not local

Is there any exception to signed applets. i.e. irrespective of signing only policy files takes precedence


Applets can write to the local files, if the policy file allows. However, if the policy file requires the applet codesource to be signed, obviously applet should be a signed one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confusion on Applet Security