Re: How do I provide access for an applet to read and write files on my system?
Posted By:
Geetha_Srinidhi
Posted On:
Thursday, September 6, 2001 08:06 PM
Thanks. I'll look for info on signing applets.
Re: How do I provide access for an applet to read and write files on my system?
Posted By:
John_Zukowski
Posted On:
Thursday, September 6, 2001 12:23 PM
Signing applets so you can do this is already covered in the FAQ.
Re: How do I provide access for an applet to read and write files on my system?
Posted By:
Igor_Vinnikov
Posted On:
Thursday, September 6, 2001 12:19 AM
Java security system don't allow you to access the file system from applets. Applets works in so-called sandbox and some operations: access to file system, network connections to another hosts and so on by default don't allow to applet. But JDK 1.1 sandbox can give permissions to perform this operations to trusted applets. Trusted applets can execute out of sandbox scope operations. In order to create trusted applet you need to generate digital certificate, create signed applet (jar-file) and correct Java security permissions.