File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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="" target="_blank" rel="nofollow"><b>Java problems</b></a>,<a href="" target="_blank" rel="nofollow"><b>Applet Games</b></a>
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
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:
subject: Applet File Permission !!