Send requests to different servers - securely
Posted: Fri Feb 21, 2014 2:53 pm
I have SERVER-X that preforms a task.
When it's completed, I want to send a request to SERVER-Y that inserts a DB record on that server. SERVER-X can easily make a curl request to update the records however this terrifies me. Anyone in the world could make this request millions of times.
Is there a way to do this securely? My initial thought was to use a white list of accepted servers however that could also be spoofed. Is there a hand-shake token mechanism I could use?
Thanks!
When it's completed, I want to send a request to SERVER-Y that inserts a DB record on that server. SERVER-X can easily make a curl request to update the records however this terrifies me. Anyone in the world could make this request millions of times.
Is there a way to do this securely? My initial thought was to use a white list of accepted servers however that could also be spoofed. Is there a hand-shake token mechanism I could use?
Thanks!