Protect php script that receive paypal IPN notifications
问题 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 protect it? Do I need to? 回答1: You can safely limit access to your IPN script only to the following list of IP addresses: 216.113.188.202 216.113.188.203