authentication

Brian Quinlan brian at sweetapp.com
Mon Jan 7 12:38:09 EST 2002


Lewis Bergman wrote:
> By the way. Is there any method to authenticate this type
> XML-RPC?

SimpleXMLRPCServer doesn't implement any authentication system but there
are two ways that you can authenticate your clients:

1. use SSL and add an authentication record to each of your methods
2. use SSL and HTTP authentication

Most people seem to prefer the first option because not all XML-RPC
clients support HTTP authentication.

I haven't investigated how you would actually go about doing this.
Offhand, it looks like BaseHTTPServer doesn't have any options to use
SSL so you'd have to do a fair bit of digging.

Cheers,
Brian 





More information about the Python-list mailing list