Skip Montanaro <[EMAIL PROTECTED]> wrote:
>First, from my reading of SimpleXMLRPCServer, I don't think _dispatch()
>belongs at that level. It belongs in the request handler class or in a
>separate dispatcher class, depending on what version of Python you're using.
Quite so. As a variant I just u
Esben> What i don't know is how to the client ip. I would think I should
Esben> override the _marshalled_dispatch method but I can't quite grasp
Esben> it all.
First, from my reading of SimpleXMLRPCServer, I don't think _dispatch()
belongs at that level. It belongs in the request han
I am trying to restrict some of the methods available by RPC to whether
the user is connected through a ssh-tunnel eg. connecting from localhost.
class UserRPC:
'''Methods available to users'''
pass
class AdminRPC(UserRPC):
'''Methods available only when connecting from localhost'''