Hello,
In my website I've integrated a php script that receive an IPN notification and send a license key to the customer! This script is in a folder with other 2 php files required by the php script ... how can i protect this folder? If I place in it an .htaccess with:
order allow,deny
deny from all
I block the paypal notifications too!
How can i do? Or is not necessary take this precaution?
Thanks for all the replies!
SOLVED:
Finally I've added on head of the php script an if statement based on the remote host name:
$reomte_host = gethostbyaddr($_SERVER['REMOTE_ADDR']);
if someone is interested, it's also possible to query $_SERVER['REMOTE_HOST'] but must be configured the httpd.conf file on the server.
Thanks to all!