secure xmlrpc server?

Jeethu Rao jeethu at tachyontech.net
Wed Jun 7 13:15:40 CEST 2006


Using Twisted on the server side for xmlrpc doesn't restrict your 
options to using only Twisted on the client side.
Nothing prevents you from using xmlrpclib.ServerProxy on the client side.

Jeethu Rao

Laszlo Nagy wrote:
>   Hello,
>
> I'm trying to create a simple XMLRPC server and a client. It is a small 
> application, but the connection needs to be secure. I would like the 
> client to be as thin as possible. Ideally, the client should only 
> require the basic python library, nothing else. I found many examples on 
> the net. But I could not find secure ones (except twisted/xmlrpc, but I 
> would like to use the basic python lib on the client side, if possible). 
> I know that python supports HTTPS. In theory, this could be used to 
> bulild a secure xmlrpc server. I think that the client would work with 
> this code:
>
> # Connect to server
> server = ServerProxy("https://myserver.com:8000")
>
> But I do not know how to create an XML RPC server in Python that uses 
> HTTPS for XML transports.  (The server may use other libraries, just the 
> client needs to be thin.)
> Can you help me please?
>
> Thanks,
>
>    Laszlo
>
>   




More information about the Python-list mailing list