Trusted Third
Function Group
Always Ask, Ask
User Data Read
Once Per App,
Capability
Never Ask, No
Access
Always Ask, Ask
User Data Write
Once Per App,
Capability
Never Ask, No
Access
The File Connection permissions should be prohibited for granting to a MIDlet suite which
doesn't request them explicitly in the attributes MIDlet-Permissions or MIDlet-Permissions
–Opt.
If the permission is not granted, a SecurityException shall be thrown by the following
methods: open, openDataInputStream, openInputStream, setFileConnection, listRoots,
openDataOutputStream, openOutputStream; PIMList.items(all methods),
PIMList.itemsByCategory, PIMList.addCategory, PIMList.deleteCategory,
PIMList.renameCategory, PIMItem.commit, ContactList.removeContact,
EventList.removeEvent, EventList.items.
The following javax.microedition.io.Connector methods should check for the "read
permission":
The following javax.microedition.io.file.FileConnection methods should check for the "read
permission":
•
•
The following javax.microedition.io.Connector methods should check for the "write
permission":
Untrusted
Party
No Access
No Access
Table 18 Groups and permissions for
open("file://...");
open("file://...", Connector.READ);
open("file://...", Connector.READ_WRITE);
openDataInputStream();
openInputStream()
setFileConnection, when instance opened with READ;
setFileConnection, when instance opened with READ_WRITE.
open("file://...");
open("file://...", Connector.WRITE);
open("file://...", Connector.READ_WRITE);
openDataOutputStream();
openOutputStream();
Manufacturer
Operator
Full Access
Full Access
Full Access
Full Access
59