j2me Jad Attributes Security

Forum for discussion on Game porting for mobile phones and j2me supported devices including device information.

j2me Jad Attributes Security

Postby menis » Wed Jun 11, 2008 8:59 pm

Dear all,

I am Developing a j2me Application and i want to ask some questions about the the way that
the AMS(application-management software) of the Handset handles the Midlet Suite's JAD file attributes.
Lets suppose that i have a Midlet in http://myserver.com/mymidlet.jad (and http://myserver.com/mymidlet.jar).
The jad file contains an attribute named mymidletAttribute with value mymidletAttributeValue

The question is WHERE the AMS is going to store the property mymidletAttribute AND if another Midlet
(or another application) CAN access this property for example using the call mymidlet.getAppProperty("mymidletAttribute")?
what is the level of protection that AMS and j2me provides in this level?

Thank you!

NiKolaos
menis
 
Posts: 12
Joined: Sun Nov 25, 2007 6:11 pm

Re: j2me Jad Attributes Security

Postby DevelopmentTeam » Thu Jun 12, 2008 4:19 am

From what you have explained, I can understand that you are trying to store come confidencial data in the midlet properties and access it from the code. Once the application is installed on the phone no other application can read the jad properties, but before installation people can see your jad file details. To avoid this you can store the details in the midlet manifest alone and not in the jad. I think few old devices will have problems with it.
User avatar
DevelopmentTeam
Site Admin
 
Posts: 661
Joined: Tue Aug 15, 2006 8:39 am
Location: India


Return to Mobile Game Porting and Testing

Who is online

Users browsing this forum: No registered users and 2 guests

cron