Difference between revisions of "OWASP Mobile Security Project Platform Specific Guidance AndroidCode Draft"

From OWASP
Jump to: navigation, search
 
Line 1: Line 1:
== Authentication ==
+
Deleted. Please navigate to [https://www.owasp.org/index.php?title=OWASP_Mobile_Security_Project_Platform_Specific_Guidance_Android_Code_Draft the updated page].
== Session Management ==
+
== Access Control ==
+
== Input Validation ==
+
== Output Encoding/Escaping ==
+
== Cryptography ==
+
== Error Handling and Logging ==
+
== Data Protection ==
+
Android code examples for Data Protection:
+
<tt>
+
    try {
+
        Context context = getApplicationContext();
+
        FileOutputStream stream;
+
        stream = context.openFileOutput("local_filename", Context.MODE_PRIVATE);
+
        OutputStreamWriter bw = new OutputStreamWriter(stream);
+
        bw.write(sb.toString());
+
        bw.flush();
+
        bw.close();
+
    } catch (IOException ioe) {
+
        // Handle the exception
+
    }
+
</tt>
+
== Communication Security ==
+
== HTTP Security ==
+
== Security Configuration ==
+

Latest revision as of 07:40, 20 October 2011

Deleted. Please navigate to the updated page.