PrepAway - Latest Free Exam Questions & Answers

Which of the following is the simplest method to protect the network communications of the application?

A developer has written an Android application that uses the HttpURLConnection API to
communicate with a backend server. Which of the following is the simplest method to protect the
network communications of the application?

PrepAway - Latest Free Exam Questions & Answers

A.
Purchase an SSL library from a major vendor and integrate it into the application to protect the
HttpURLConnection.

B.
Add the call setSecureSocket(true) to each HttpURLConnection object immediately after it is
created.

C.
Replace every HttpURLConnection object with an HttpsURLConnection API.

D.
Call Android’s built-in AES and RC-4 encryption implementations.

Explanation:


Leave a Reply