Search Mailing List Archives
iPhone App and WebAuth
swl at stanford.edu
Sat Sep 17 16:05:03 PDT 2011
On Sep 17, 2011, at 1:22 PM, Aaron Masao Nagao wrote:
> Hello, my name is Aaron Nagao and I'm an app developer for the ASSU (Associated Students of Stanford University). I have limited development experience so I wanted to get some clarification on WebAuth's ProxyPass setup.
You didn't really explain what the app does (other than signing up for mailing lists, which you could do with just a URL), so I'll make a few assumptions (please correct them where they're wrong):
1. You're using PhoneGap to wrap a basic webpage into a native app that has camera access
2. You're using the Stanford lists service ( http://mailman.stanford.edu/ )
3. The app will let users scan QR codes at activities booths, and then open up the signup page for that list
4. You don't want people to be able to sign up other people
If 2 is true, you can't stop 4 from happening - the signup page https://mailman.stanford.edu/mailman/listinfo/LISTNAME is not authenticated, because many lists have non-Stanford members.
If the first 3 assumptions are right, the easiest way to do this (and to not exclude users of other devices, like Androids), is to post a big sign with a short URL for a free iPhone QR code reader (e.g. http://bit.ly/salaf2011qr ), then create the QR code for each booth so that it encodes the appropriate URL ( https://mailman.stanford.edu/mailman/listinfo/LISTNAME ). iPhone users can install the QR code reader and use that to quickly reach the subscription page for each listt; Android users can use the QR code reader that comes preinstalled on their phone to do the same thing.
This approach has one big advantage over a new native app - there's no need to go through the app store approval process, which may not complete by September 30.
An even simpler approach, which requires no additional software installation on users' phones, is to have a mobile-friendly web page that allows users to pick a group from a list for more info, including the subscription URL. It's as easy as adding jQuery Mobile ( http://jquerymobile.com/ ) to a simple web page (see http://jquerymobile.com/demos/1.0b3/docs/lists/index.html )
More information about the webauth-info