<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 6, 2015 at 11:56 AM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-02-05, Matthias Wessendorf wrote:<br>
</span><div><div class="h5">&gt; On Thu, Feb 5, 2015 at 9:57 PM, Summers Pittman &lt;<a href="mailto:supittma@redhat.com">supittma@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;  On 02/05/2015 02:24 PM, Matthias Wessendorf wrote:<br>
&gt; &gt;<br>
&gt; &gt; While working on the doc for AGPUSH-1258, I found this in Apple&#39;s &quot;iOS<br>
&gt; &gt; Developer Program License Agreement&quot;:<br>
&gt; &gt;<br>
&gt; &gt;  ...<br>
&gt; &gt; Further, as a condition to using the APN, You agree not to transmit<br>
&gt; &gt; sensitive personal or confidential information belonging to an individual<br>
&gt; &gt; (e.g. a social security number, financial account or transactional<br>
&gt; &gt; information, or any information where the individual may have a reasonable<br>
&gt; &gt; expectation of secure transmission) as part of any Push Notification, and<br>
&gt; &gt; You agree to comply with any applicable notice or consent requirements with<br>
&gt; &gt; respect to any collection, transmission, maintenance, processing or use of<br>
&gt; &gt; an end user’s personal information.<br>
&gt; &gt;  ...<br>
&gt; &gt;<br>
&gt; &gt;  That means, if an app-developer sends something like &quot;Your blood<br>
&gt; &gt; donation appointment is tomorrow&quot; to a user of his mobile app, the<br>
&gt; &gt; app-developer is breaking the Apple terms _and_ the law in a lot of<br>
&gt; &gt; countries (at least in all EU countries) :-)<br>
&gt; &gt;<br>
&gt; &gt; What we have to remember is that large amounts of information in aggregate<br>
&gt; &gt; can become personally identifying even if any individual message is not.<br>
&gt; &gt; So the law in this case doesn&#39;t help since it is only the data in context<br>
&gt; &gt; which becomes personally identifying or protected.<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t think anyone is advocating for sending sensitive information via<br>
&gt; &gt; push, but what we are advocating is not putting a big target on our (or our<br>
&gt; &gt; user&#39;s) backs out of the gate by storing all of the messages by default.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Let&#39;s make storing the &#39;alert&#39; an option, which needs to be enabled, and is<br>
&gt; turned off by default.<br>
&gt;<br>
&gt; This allows those that want to use the UPS for marekting reasons, to<br>
&gt; explicitly enable it. The enabling should be done with a proper*<br>
&gt; dialog/step inside of the setup-wizard that is planed for 1.1.x<br>
&gt;<br>
&gt; proper=&gt; make it explicit that the UPS stores data, and link to privacy<br>
&gt; policy etc. the entire thing :-)<br>
<br>
</div></div>+1 on privacy policy<br>
<br>
-1 on let people enable/disable for marketing reasons.<br></blockquote><div><br></div><div>Wrong word - I mean analytics. See previous email with more details</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
&gt;<br>
&gt;<br>
&gt; Thoughts?<br>
&gt;<br>
&gt;<br>
&gt; &gt;  BTW. for Google I don&#39;t seem to find a similar paragraph, but IMO they<br>
&gt; &gt; are not that thoughtful on privacy terms (compared to Apple).<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;  Now, for our UPS guide (or documentation), I will add a few sentences to<br>
&gt; &gt; make it clear that our app-developers should NEVER submit sensitive<br>
&gt; &gt; personal or confidential information with a push.<br>
&gt; &gt;<br>
&gt; &gt;  Regarding a &quot;Privacy Policy&quot;, I will also make clear what data of the<br>
&gt; &gt; push we store, for analytic reasons.<br>
&gt; &gt;<br>
&gt; &gt;  You&#39;ll see a PR during my Friday.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;  Greetings,<br>
&gt; &gt; Matthias<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, Feb 4, 2015 at 2:53 PM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; I have created AGPUSH-1257 and AGPUSH-1258<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Fri, Jan 30, 2015 at 3:22 PM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt;<br>
&gt; &gt;&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt;  Hi,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; earlier this week there was some discussion about storing the payload of<br>
&gt; &gt;&gt;&gt; the push notifications ([1]).<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Right now, we store some metrics (e.g. client that send the push, number<br>
</span>&gt; &gt;&gt;&gt; of devices, deliveryStatus etc) *and* the entire content of push<br>
<span class="">&gt; &gt;&gt;&gt; notification. This includes custom key/value pairs, the name of the sound<br>
&gt; &gt;&gt;&gt; file or even the size of the badge.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Is all of that, storing the entire push notification payload really<br>
</span>&gt; &gt;&gt;&gt; needed? *No!*<br>
<span class="">&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; What do we need, and why?<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; For counting the number of sent pushes (over time), the metrics are good<br>
</span>&gt; &gt;&gt;&gt; enough. We do *NOT* need any of the push content for that, that&#39;s<br>
<span class="">&gt; &gt;&gt;&gt; correct!<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; But we want to do more on the 1.1.0 release. We want to introduce some<br>
&gt; &gt;&gt;&gt; analytic features, to give our app developers (our users) a better<br>
&gt; &gt;&gt;&gt; understanding of their push usage (see [2]).<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; In order to see details on how successful a push was (or not), we need<br>
&gt; &gt;&gt;&gt; to only store the value of the alert key:<br>
&gt; &gt;&gt;&gt; <a href="https://aerogear.org/docs/unifiedpush/aerogear-push-ios/img/PushMessage.png" target="_blank">https://aerogear.org/docs/unifiedpush/aerogear-push-ios/img/PushMessage.png</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Ok, let&#39;s change that (see [3])!<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; For our app developers, using the UPS to reach out to their mobile app<br>
&gt; &gt;&gt;&gt; users (&quot;user engagement&quot;), it&#39;s important to understand which push was more<br>
&gt; &gt;&gt;&gt; successful:<br>
&gt; &gt;&gt;&gt;<br>
</span>&gt; &gt;&gt;&gt;    - &quot;Get 10% discount today&quot; (sent on a Monday)<br>
&gt; &gt;&gt;&gt;    - &quot;Our shop got new site, check it out and get 5% discount&quot; (sent on<br>
<span class="">&gt; &gt;&gt;&gt;    a Friday)<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; With the upcoming analytics we can help them to improve usage of their<br>
&gt; &gt;&gt;&gt; app. User interaction is very important to a successful mobile application<br>
&gt; &gt;&gt;&gt; and push is a key driver here! Our app developers want an app that is<br>
&gt; &gt;&gt;&gt; actively used by their users (Nobody wants his app sitting on the last page<br>
&gt; &gt;&gt;&gt; of the device or, even worse, in a folder together with Apple-Maps).<br>
&gt; &gt;&gt;&gt; Therefore it&#39;s critical for our app developers to understand the relevance<br>
&gt; &gt;&gt;&gt; of their push messages sent and how it impacts the usage of their app.<br>
&gt; &gt;&gt;&gt; That&#39;s why we do the analytics described in [2]. And, yes - only the alert,<br>
&gt; &gt;&gt;&gt; not the entire payload is needed for that.<br>
</span>&gt; &gt;&gt;&gt;  &lt;<a href="https://gist.github.com/matzew/b6459083f39394a892c5#privacy" target="_blank">https://gist.github.com/matzew/b6459083f39394a892c5#privacy</a>&gt;Privacy<br>
<span class="">&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; On the mentioned PR there was also some discussion about privacy<br>
&gt; &gt;&gt;&gt; violations and stuff, when we store the content of the notification. An<br>
</span>&gt; &gt;&gt;&gt; example where *sensitive* data was sent over push was given. Something<br>
<span class="">&gt; &gt;&gt;&gt; like: &quot;Dear Mr. Joe, your blood donation appointment was scheduled for 3<br>
&gt; &gt;&gt;&gt; p.m&quot;<br>
&gt; &gt;&gt;&gt;<br>
</span>&gt; &gt;&gt;&gt;    1. This is not how push notifications are used for mobile apps. Push<br>
<span class="">&gt; &gt;&gt;&gt;    is to signal, not carry actual (sensitive) data around.<br>
</span>&gt; &gt;&gt;&gt;    2. In a lot of countries, at least almost all European countries,<br>
<div><div class="h5">&gt; &gt;&gt;&gt;    you are not even allowed, by EU law, to give &quot;data&quot; to 3rd party providers<br>
&gt; &gt;&gt;&gt;    (like the push-networks of Microsoft, Apple or Google).<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; How does the actual (sensitive) data come to an app?<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; As said above a push is used to signal/ping an app, to indicate that<br>
&gt; &gt;&gt;&gt; there is real data for the mobile app user. In the background the mobile<br>
&gt; &gt;&gt;&gt; app tries to connect to the backend of the company, running/maintaining the<br>
&gt; &gt;&gt;&gt; mobile app. After the real data was fetched, &quot;local notifcations&quot; are used<br>
&gt; &gt;&gt;&gt; to give the user a visible notification, like &quot;Dear Mr. Joe, your blood<br>
&gt; &gt;&gt;&gt; donation appointment was scheduled for 3 p.m&quot;, or simply &quot;New appointment<br>
&gt; &gt;&gt;&gt; scheduled&quot;.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; If the app was a chat system (and not a blood donation app from the Red<br>
&gt; &gt;&gt;&gt; Cross), it would be the same: After a signal, the app connects to &quot;chat<br>
&gt; &gt;&gt;&gt; server&quot; and receives the actual chat message from there. A reply would go<br>
&gt; &gt;&gt;&gt; over the same &quot;chat server&quot; connection. None of this would go over a 3rd<br>
&gt; &gt;&gt;&gt; party push network provider like Google, Microsoft or Apple.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; What would we store from these silent notifications?<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Nothing, since there is no alert, we would just store the metrics (e.g.<br>
&gt; &gt;&gt;&gt; client that send the push, number of devices, deliveryStatus etc). If the<br>
&gt; &gt;&gt;&gt; signaling is actually done with an alert (e.g. alert:&quot;you got a new Chat<br>
&gt; &gt;&gt;&gt; text&quot; or &quot;New appointment scheduled&quot;), we would store that.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; I hope this helps a bit to understand what is stored and also why we do<br>
&gt; &gt;&gt;&gt; need a little bit of information.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; BTW. our documentation already says that push is used for signaling, not<br>
&gt; &gt;&gt;&gt; carrying actual data around, but based on this email I will update it to<br>
&gt; &gt;&gt;&gt; have explicit information on best practices. Also, the documentation will<br>
&gt; &gt;&gt;&gt; be clear about what (the alert only) is stored by the UPS, and why. (see<br>
&gt; &gt;&gt;&gt; [4])<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Greetings,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Matthias<br>
&gt; &gt;&gt;&gt;<br>
</div></div><span class="">&gt; &gt;&gt;&gt;    - [1]<br>
&gt; &gt;&gt;&gt;    <a href="https://github.com/aerogear/aerogear-unifiedpush-server/pull/478" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/pull/478</a><br>
&gt; &gt;&gt;&gt;    - [2] <a href="https://issues.jboss.org/browse/AGPUSH-971" target="_blank">https://issues.jboss.org/browse/AGPUSH-971</a><br>
</span>&gt; &gt;&gt;&gt;    - [3] JIRA TO CREATE: to only store ALERT and not the full payload<br>
&gt; &gt;&gt;&gt;    - [4] JIRA TO CREATE: update doc regarding push message storage and<br>
<span class="">&gt; &gt;&gt;&gt;    best practices<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;  --<br>
&gt; &gt;&gt;&gt; Matthias Wessendorf<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt;&gt;&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt;&gt;&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;  --<br>
&gt; &gt;&gt; Matthias Wessendorf<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt;&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt;&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;  --<br>
&gt; &gt; Matthias Wessendorf<br>
&gt; &gt;<br>
&gt; &gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
</span>&gt; &gt; aerogear-dev mailing listaerogear-dev@lists.jboss.orghttps://<a href="http://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<span class="">&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Summers Pittman<br>
&gt; &gt; &gt;&gt;Phone:404 941 4698<br>
&gt; &gt; &gt;&gt;Java is my crack.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matthias Wessendorf<br>
&gt;<br>
&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
--<br>
<br>
</span>abstractj<br>
PGP: 0x84DC9914<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div></div>