Wednesday, February 27, 2013

[android-developers] Certificates management in multiuser environment (Android 4.2)

Hi,

I have a tablet running Android 4.2 with multiple users. I want to install certificates which can be accessed by the secondary user (basically I want to configure an Email account in the secondary user which requires certificates). I installed certificates in the primary user. But, when I try to access them in the secondary user, the dialog doesn't display the installed certificates.

I also tried modifying the Settings application to show the "Install certificates" option in the secondary user. But, clicking that option shows a toast that "Only owner can install certificates". I went a step further and changed CertInstaller to allow secondary users to install certificates. But, it fails when Android attempts to write the certificates to /data/misc/keychain directory.

My question is that, is /data/misc/keychain directory only accessible (read/write access) to applications running inside the primary user (owner). If yes, the how the access control is enforced?

Regards
Aman

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate