I am using Paypal for payments on my site and when someone successfully completes a purchase Paypal calls the notify_url that I specified and passes it some POST data. From POST I only use item_number and txn_id.
The URL that I am using for the notify_url is a public URL and anyone can visit it. How do I ensure that only Paypal can request this URL and everyone else is blocked?