OCAP Permission

2 replies [Last post]
Aditya Rathi
User offline. Last seen 1 year 18 weeks ago. Offline
Joined: 03/04/2009
Groups: None

I wanted to create a Xlet which could can read file from local drive. But I am geeting java.security.AccessControlException even though I have given permission for read and write from permission file. Can anybody provide me with sample permission file to read a file from local machine. Thanks Aditya

ulimed's picture
ulises medina
User offline. Last seen 48 weeks 4 days ago. Offline
Joined: 05/13/2009
Groups: None

OCAP Permission
Hi, I am having almost the same problem, when I try to use NanoXML appears:

java.security.AccessControlException: access denied (java.util.PropertyPermission net.n3.nanoxml.XMLParser read)
at java.security.AccessControlContext.checkPermission (AccessControlContext.java, line 280)
at java.security.AccessController.checkPermission (AccessController.java, line 468)
at java.lang.SecurityManager.checkPermission (SecurityManager.java, line 1045)

does anybody knows how to resolve this problem?
help

Anonymous
Groups: None

With the CableLabs RI, setting the application id can change the permissions of the application. For example for all perms: 0x000000017001

This may or may not be related to what you are seeing.