1 Reply Latest reply on Sep 9, 2009 11:55 PM by 843851

    acces a file from a xlet

      I am trying to acces a local file from a xlet but I am getting the following error:

      java.security.AccessControlException: access denied (java.io.FilePermission write.txt write)

      Can anyone help me? How can I get the permissions?

      Thank you,
        • 1. Re: acces a file from a xlet

          You'll need to request the file permission in a Permission Request File. The exact format of the file will vary slightly depending on the platform, I believe, but you want to make sure that you request the <file ...> permission and that you have a signed app, or at least an appId in the signed range if you are not using a device/simulator that checks security

          Hope that helps...