I understand when you say the receiver should ask "Do I know or care about
the sender of this Intent?" and "Is the Intent well-formed according to my
input validation rules?". But I don't quite understand why the receiver
should ask the question "Did the sender have a given permission?". Isn't
this the task of the Security Manager (Reference Monitor) that takes care of
the access control? Or am I missing something here?


On Wed, Feb 23, 2011 at 2:27 PM, Chris Palmer <[email protected]> wrote:

> On Wed, Feb 23, 2011 at 10:13 AM, Anh-Duy Vu <[email protected]>
> wrote:
>
> >    Could I develop a service like installd and fire intents to other
> > Android component and services without permission checking?
>
> Whether written in C or Java, an app can always fire any Intent it
> wants to. But no other process has to listen, or act on it.
>
> Intent receivers can — should! — ask questions such as "Do I know or
> care about the sender of this Intent?", "Did the sender have a given
> Permission?", "Is the Intent well-formed according to my input
> validation rules?", and so on. That's where the security comes from.
> There is no magic.
>
> --
> 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.
>
>

-- 
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