From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [RFC] Add agent API to message atom
Date: Wed, 01 Sep 2010 08:40:48 -0400 [thread overview]
Message-ID: <1283344848.7452.35.camel@localhost.localdomain> (raw)
In-Reply-To: <AANLkTim3x7dZ7HYBmuZr7wQJTeKcbErUkeHo0YcfdDzO@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]
Hi Aki,
> >> This was basically what I was thinking, too, with the addition of ^
> >> and $ for matching at the end or beginning of a message.
> >
> > within GLib we have glob pattern matching functions, but nothing that
> > additionally takes ^ and $. Why do you think this would be useful and
> > needed? How many message agents to you expect to be running that are not
> > using port numbers? Do you have some examples messages in mind?
>
> There are services that use SMS to send confirmation tokens in
> messages, and are not using application ports. But they also require
> the ability to stop such a message ending up in the UI. So perhaps
> this sort of thing is better done higher up the stack, like in the
> messaging application itself.
you really have to give me some concert examples here. The only time I
used these was for WiFi access tokens and these where expected to be
shown to the user.
So what kind of plain text messages need to be hidden from the UI? And
if we wanted to do that, what are the risk factors of accidentally
hiding them. Even with full blown regex pattern matching, I think there
is a high risk for false positives here.
I prefer if we are not doing that. If the services doesn't use port
numbers or some sort of WAP push to allow the device to uniquely
identify its message, then there is something seriously wrong with that
service.
Even just starting to think about the security implications here makes
me kinda worry. My thinking is that oFono should not look into the
content of any messages until it is a clearly defined protocol or
format.
Regards
Marcel
next prev parent reply other threads:[~2010-09-01 12:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-30 15:50 [RFC] Add agent API to message atom Aki Niemi
2010-08-31 0:06 ` Marcel Holtmann
2010-08-31 6:15 ` Aki Niemi
2010-08-31 12:37 ` Marcel Holtmann
2010-08-31 15:04 ` Denis Kenzior
2010-09-01 5:57 ` Aki Niemi
2010-09-01 12:40 ` Marcel Holtmann [this message]
2010-08-31 3:37 ` Zhang, Caiwen
2010-08-31 6:20 ` Aki Niemi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283344848.7452.35.camel@localhost.localdomain \
--to=marcel@holtmann.org \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.