jQuery in Action, 3rd edition
The moose likes Applets and the fly likes Applet File Permission !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet File Permission !!" Watch "Applet File Permission !!" New topic

Applet File Permission !!

mohamed sami

Joined: Jun 16, 2007
Posts: 4
This a problem i faced .When i made applet the access file i faced the following exception:

any help ?

Just walk beside me and be my friend <a href="http://www.codemiles.com" target="_blank" rel="nofollow"><b>Java problems</b></a>,<a href="http://www.codemiles.com/viewforum.php?f=109" target="_blank" rel="nofollow"><b>Applet Games</b></a>
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Applets generally aren't allowed to perform any file I/O. To get around this, the applet needs to be signed, or the local security policy altered. Both approaches are described in HowCanAnAppletReadFilesOnTheLocalFileSystem.
mohamed sami

Joined: Jun 16, 2007
Posts: 4
Thank you ,
I agree. Here's the link: http://aspose.com/file-tools
subject: Applet File Permission !!
It's not a secret anymore!