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.

inside custom component

Payment Service

Reply
Super Contributor
JeffLemon
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
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 (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
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
@garettBeuk
--
Goodbye everybody!
Please use plain text.