[web2py] Web Service - Connect from Andriod App

2011-12-27 Thread Bruce Wade
Hi,

I am planing a web2py web services that will allow my custom android app to
communicate together. My primary concern is how would I secure it? IE: Have
it so applications need to login in order to interact? Any documentation
you can point me to would be helpful.

-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com


Re: [web2py] Web Service - Connect from Andriod App

2011-12-27 Thread Jonathan Lundell
On Dec 27, 2011, at 8:47 AM, Bruce Wade wrote:

 I am planing a web2py web services that will allow my custom android app to 
 communicate together. My primary concern is how would I secure it? IE: Have 
 it so applications need to login in order to interact? Any documentation you 
 can point me to would be helpful.
 

Will each device have its own login account? How will the account be created 
(from the app? on the website?)?

Re: [web2py] Web Service - Connect from Andriod App

2011-12-27 Thread Bruce Wade
Every device will have it's own login, just like every member has their own
login. The accounts would be created on the website/server.

On Tue, Dec 27, 2011 at 9:00 AM, Jonathan Lundell jlund...@pobox.comwrote:

 On Dec 27, 2011, at 8:47 AM, Bruce Wade wrote:

 I am planing a web2py web services that will allow my custom android app
 to communicate together. My primary concern is how would I secure it? IE:
 Have it so applications need to login in order to interact? Any
 documentation you can point me to would be helpful.


 Will each device have its own login account? How will the account be
 created (from the app? on the website?)?




-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com


Re: [web2py] Web Service - Connect from Andriod App

2011-12-27 Thread Jonathan Lundell
On Dec 27, 2011, at 9:05 AM, Bruce Wade wrote:

 Every device will have it's own login, just like every member has their own 
 login. The accounts would be created on the website/server.
 
 On Tue, Dec 27, 2011 at 9:00 AM, Jonathan Lundell jlund...@pobox.com wrote:
 On Dec 27, 2011, at 8:47 AM, Bruce Wade wrote:
 
 I am planing a web2py web services that will allow my custom android app to 
 communicate together. My primary concern is how would I secure it? IE: Have 
 it so applications need to login in order to interact? Any documentation you 
 can point me to would be helpful.
 
 
 Will each device have its own login account? How will the account be created 
 (from the app? on the website?)?
 

I'd consider using JSON-RPC or XML-RPC and basic auth.

Here's a thread dealing with a bug in that process that has some useful 
examples: https://groups.google.com/forum/#!topic/web2py/lLCCUrwB5x0

Depending on how secure you need to be, https might be a good idea as well.