Is there any security provided when an application calls a remote service using AIDL? Or is it simply like a malicious application could read the data?
Is there any security provided when an application calls a remote service using AIDL?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On Android, one process cannot normally access the memory of another process.
When you bind to applications with a AIDL interface, the system will establish a connection between those processes. Therefor, the only those two applications that can read the information that is shared via the AIDL interface.
If you want to be sure, you should make a extra check in the
onBind(Intent intent), to make sure it’s your own application that is connectingTip: read the first part of this page: http://developer.android.com/guide/components/aidl.html