¿Cuál es la forma más segura de hacer una versión de prueba de una aplicación OS X?

StackOverflow https://stackoverflow.com/questions/7383817

  •  29-10-2019
  •  | 
  •  

Pregunta

Estoy interesado en hacer una versión de prueba de una aplicación que estoy distribuyendo a través de la Mac App Store.¿Cuál es la forma más segura de hacerlo?Simplemente escribir la fecha de la primera ejecución en los valores predeterminados del usuario parece un poco fácil de eludir.

¿Fue útil?

Solución

It's better to make trial versions be feature-limited rather than time-limited - features you can just actually leave out of your trial version's code, whereas you can't leave out "the rest of time eternal". You can try to artificially make your app stop working after a period of time, but rest assured that someone who wants to will find a way to bypass that restriction.

If you're dead-set on making it time-trial based, though, store a timestamp somewhere obscure in a non-obvious (e.g. basic encryption) format, and check against it. Yes, it'll get circumvented by someone determined, but it's not worth your time to try to prevent that.

Just do something that's "good enough" to encourage the mostly-honest users to pay for the app, and ignore the hardcore reverse engineers; they're a tiny segment of the market who probably wouldn't pay for your app no matter what you did (except possibly, they might pay for it if you didn't lock it down in the first place, as a matter of principle - some of them are fickle like that).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top