×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Super Contributor
    Join Date
    Apr 2009
    Posts
    572

    J2ME Security Exposed

    Hi All,

    I started this thread to discuss very common problem of java security

    As talked about MiniOpera it asks for the first time when we access web afterwards it never prompts while accessing network how can this be achieved
    Regards,
    Saurabh

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: J2ME Security Exposed

    OperaMini does not connect directly to websites. It's not actually a web browser. It works via Opera's own proxy server, and it's the server that does much of the work. OperaMini can (depending on device support) use a SocketConnection to maintain a single connection to the server. By only connecting once, you only see one security prompt.

    Graham.

  3. #3
    Super Contributor
    Join Date
    Apr 2009
    Posts
    572

    Re: J2ME Security Exposed

    oh I see means it connects to their server 1st tym nd den prooces the requests without closing that connection and thus maintaining only one connection while user thinks it makes new connection every time we click an link Thanks Graham for clarifying me nd I think google maps does the same

    However I think there is no workaround to solve this problem
    Regards,
    Saurabh

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Ahmedabad
    Posts
    254

    Re: J2ME Security Exposed

    Hi,

    You can set it up in Midlet Settings too. And I think signing the application may also solve the issue. In case, you don't want to go for signing then you can change the MIDlet setting to 'Ask Once' and then it will ask only for the first time when it makes http connection.
    Sunil
    Mobile Application Developer

  5. #5
    Super Contributor
    Join Date
    Apr 2009
    Posts
    572

    Re: J2ME Security Exposed

    Thanks sunil for your reply can you please post the exact entry that we should enter in jad file
    Regards,
    Saurabh

  6. #6
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Ahmedabad
    Posts
    254

    Re: J2ME Security Exposed

    Hi,

    I think you got me wrong. By MIDlet setting I meant the mobile phone setting and not any setting in JAD file. You need to manually set the permission for your application to 'Ask First Time'. In S40 devices, just click on options -> Application Access. In s60 devices I think its in Application Manager.

    I hope its clear now.
    Sunil
    Mobile Application Developer

  7. #7
    Super Contributor
    Join Date
    Apr 2009
    Posts
    572

    Re: J2ME Security Exposed

    Thanks now I got U we have to manually set the permisiion for our app in app manager
    Regards,
    Saurabh

  8. #8
    Registered User
    Join Date
    Aug 2008
    Posts
    39

    Re: J2ME Security Exposed

    You can sign the midlet with a certificate (versign, thawte, ...). It will anyways ask you once (depending on certificate) like the "Ask First Time" option, but you don`t need do this manually. For testing purposes the option via the phones settings is good enough.

  9. #9
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: J2ME Security Exposed

    Quote Originally Posted by g3r0 View Post
    You can sign the midlet with a certificate (versign, thawte, ...). It will anyways ask you once (depending on certificate) like the "Ask First Time" option, but you don`t need do this manually. For testing purposes the option via the phones settings is good enough.
    Whether or not the default security setting will be different for a signed application depends on the device. Signing does not necessarily set security options to "ask first time".

  10. #10
    Registered User
    Join Date
    Aug 2008
    Posts
    39

    Re: J2ME Security Exposed

    I expressed myselft unclear. It depends on the certificate AND the device. It`s very likely to ask you once when you use a "standard certificate", that was at least my experience so far.

Similar Threads

  1. J2me security
    By pedpano in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-06-14, 17:26
  2. Can J2ME be used for sending MMS Message ?
    By seno_ap in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-24, 14:36
  3. J2ME security model
    By ballmann82 in forum Mobile Java General
    Replies: 1
    Last Post: 2006-03-18, 16:14
  4. J2ME IP connectivity on S60 3rd ed.
    By jojooo in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-01-26, 09:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×