Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I need to protect my desktop app if distributed over AppStore?

I have made a simple desktop app that I want to sell through the AppStore. Of course I want to be protected against piracy. Does AppStore give any protection? How does that process work?

For instance, what prevents a dishonest person from buying my app and then upload it on a torrent and share it with others. If these other people download my app, will they automatically be asked for their identity check (Apple ID and password), the first time they try to use my app, thus preventing them from using it if they have not bought it legally.

If this identity check does not happen automatically, then do I need to add some code in my app that will ask for the identity check. If so, where can I find info about how to do that?

I'm not entirely sure how this process works. Could somebody shed some light on it?

like image 910
Bob Ueland Avatar asked Apr 23 '14 08:04

Bob Ueland


People also ask

How do I distribute Mac apps without app Store?

To distribute macOS apps without the App Store, you need to sign the app with a Developer ID certificate. Apps and other software packages need to be notarized to verify they're malware-free. You can use Xcode to notarize apps.

Are all apps on the app Store legal?

Apps made available through the App Store are licensed, not sold, to you.


1 Answers

Mac App Store slips a receipt each time it is downloaded into the bundle. The receipt contains information about the computer used (the so called GUID) and the user logged into the App Store.

See here how you should validate the receipt: https://developer.apple.com/library/mac/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573

If you implement the GUID validation as described in the document, the app will not run on any other computer.

Also check the signature of your code to make sure it has not been tampered: Verifying app's signature by code

like image 52
mahal tertin Avatar answered Oct 29 '22 11:10

mahal tertin