Just An Application

July 24, 2009

What’s New In MIDP 3.0 ? Part 41: Preventing Users From Upgrading Or Uninstalling MIDlet Suites

Filed under: Java, JME, MIDletSuite, MIDP, MIDP3 — Tags: , , , , — Simon Lewis @ 9:51 am

A user can be prevented from upgrading and/or uninstalling a MIDlet Suite by using the

    MIDlet-UserDenied

attribute.

The value of the attribute is a comma separated list of the actions the user is not allowed to perform.

The actions are

  • delete
  • update

meaning that the user cannot

  • uninstall
  • upgrade

the MIDlet Suite respectively.

To use this attribute the MIDlet Suite must be granted the ActionsDeniedPermission. The default MIDP 3.0 security policy does not grant this permission to MIDlet Suites bound to the Identified Third Party, or Unidentifed Third Party protection domains. By default therefore this feature is only available to manufacturers and operators.


Copyright (c) 2009 By Simon Lewis. All Rights Reserved

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: