Hi,

I'm looking to service another application with a web2py service.
A goal is connect to web2py and download a file via a webservice. I've
managed to do this using urllib (on the desktop client) and by
exposing a service.run in web2py. But the access to the service must
be secure, so I'm wondering on the way to authenticate it.

On the client side: should / can urllib2 be used in this scenario
(namely HTTPPassMgr)?

On the web2py side: is there a standard way of exposing the run service?

If there is a standard way I rather use it. Alternative, I would
expose a custom login function through the service, return a temporary
token and then use it in every call to exposed services. If there's no
standard I wonder if any of you would suggest otherwise?

I also wonder how an upload function exposed through this service
would look like?

Txs,
Miguel

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to