I have a site for ads, and our partner (who runs another site for ads) must have access to the file on our server.
The file is called 'partner.php'.
This file simply prints out some information about the ads on our site.
Therefore, for our partners, they just need to access "www.domain.com/partner.php?id=1234" in order to access this information.
I plan to add a hash to the URL so that outsiders do not have access to the file. But I do not know how to do this ...
Is there anyone who could point me in the right direction?
I was told by phone that I can use a 32-line MD5 string and add it to the URL, but I really don't know how to start, or what do they mean by that?
Does anyone know what they mean?
Examples are accepted.
thank
user188962
source
share