Reputation: 3955
I used in-app-purchase in my application. i am purchasing books from in-app-purchase. after successfully payment i am downloading books from my server. but i am thinking about the security. because if any user track the url of my server and download book and used without any payment. so can any one suggest how i enable security for this.
plz suggest thx
Upvotes: 0
Views: 510
Reputation: 15706
The in-app purchase transaction contains a receipt from Apple. Apple also has a service that will verify that receipt. So your iPhone app should pass the receipt to your server when requesting the download. The server can then verify the receipt before sending the content.
Upvotes: 1