Identify valid server in XML-RPC request using PHP

Posted by Ian on Stack Overflow See other posts from Stack Overflow or by Ian
Published on 2010-03-08T14:40:45Z Indexed on 2010/03/23 12:33 UTC
Read the original article Hit count: 671

Filed under:
|
|
|

I'm working on a client-server system, where the client makes XMLRPC requests to the server. The client part of the system is handed to a third-party, meaning that he could eventually modify the code or re-route the xmlrpc requests.

Now, hoping the third-party won't modify the code, I need a way to make sure that the server the client script is contacting is actually MY server (cause, the person could somehow reroute the requests to his own server where he could make up some xml responses, not what I want). Is there a way to identify a server using PHP? Some sort of SSL connection?

Hope you guys understand me.

Cheers.

© Stack Overflow or respective owner

Related posts about php

Related posts about Xml