Java environment provides very good security measures that will be accompanied with additional security measures taken in the mobile phone environment. MIDP Java has the capability for very tight sandbox model with applications access only to the phone user interface and memory area that is specifically assigned to MIDP Java application. The networking interface will be tuned to make sure no rogue access can be made. Typically, user confirmation is asked for any action that may cause costs to the user. JavaPhone API works together with traditional Java and Personal Java security model.