Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Payment Service

Reply
Super Contributor
JeffLemon
Posts: 391
Registered: ‎01-13-2011
My Carrier: NA
Accepted Solution

In App Purchasing - Piracy

When a user buys something from my app, I set a flag in my database saying that the product has been purchased and it unlocks content in my app.

 

So for sku _myprd_0001 I set purchased = 1

 

I was wondering, is this easy for a user to hack, could they just open my database and set published to 1 in all my products?

 

What is the recomended way to deal with this and piracy?

 

Thanks

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Please use plain text.
BlackBerry Development Advisor
gbeukeboom
Posts: 1,851
Registered: ‎10-16-2009
My Carrier: Bell

Re: In App Purchasing - Piracy

Each app gets its own sandbox directory where no other app nor the user can access. So long as you store your DB in this directory and not one of the shared directories (Videos, Camera etc) you should be good :smileywink:

Garett Beukeboom
BlackBerry Development Advisor
Developer Zone
@garettbeukeboom

--
Think of a great new feature? Find a bug?
Log and track them using the Developer Issue Tracker
Please use plain text.