A similar question was asked here about a year ago, with no response...

It appears that a ContentProvider can successfully use
Binder.getCallingUid() to retrieve the UID of the process that is
triggering calls to query(), insert(), etc.

Is this behavior that we can rely upon? The docs for getCallingUid()
refer to a "transaction" without specifically stating what all, in
Android, constitute such transactions.

Thanks!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to