Server-Client authorisation

Soldato
Joined
12 Jun 2005
Posts
5,361
I have a PHP server and a Java client.

I want to have it so that ONLY my Java client can access the server (run the script), how would I go about doing this?

I was thinking just POST some sort of unique key which is deciphered by the server to make sure its valid (obviously the key would change every time, but when deciphered will have some sort of constant in it to know that it was my Java client that did the access)...but I wouldn't know where to start with something like this.

The script runs some code and outputs some text that the Java client reads and displays.

Thanks.
 
Back
Top Bottom