¡@

Home 

2014/10/15 ¤U¤È 10:14:12

iphone Programming Glossary: signeridentity

Reducing piracy of iPhone applications

http://stackoverflow.com/questions/846309/reducing-piracy-of-iphone-applications

crackers do Edit the Info.plist file Decode the Info.plist from binary to UTF 8 or ASCII Add a key pair to Info.plist SignerIdentity Apple iPhone OS Application Signing The last one is easiest to check with this code NSBundle bundle NSBundle mainBundle.. with this code NSBundle bundle NSBundle mainBundle NSDictionary info bundle infoDictionary if info objectForKey @ SignerIdentity nil do something Generally we don't have SignerIdentity in any of the App Store applications we build so checking for nil.. NSDictionary info bundle infoDictionary if info objectForKey @ SignerIdentity nil do something Generally we don't have SignerIdentity in any of the App Store applications we build so checking for nil then performing set instructions should make it more difficult..

Get fileSize of info.plist to prevent piracy

http://stackoverflow.com/questions/903157/get-filesize-of-info-plist-to-prevent-piracy

The previous answer to this which I can't link to because of my member status sucks can be easily countered since the SignerIdentity string can be looked for and replaced in the binary using a hex editor. Instead checking the fileSize of the info.plist.. piracy protection share improve this question You might prevent the noobish crackers from finding references to SignerIdentity in your code by applying ROT13 or a similar simple obscuring algorithm http en.wikipedia.org wiki ROT13 After applying ROT13.. code by applying ROT13 or a similar simple obscuring algorithm http en.wikipedia.org wiki ROT13 After applying ROT13 SignerIdentity would become FvtareVqragvgl . Anyway the answer to your question how you get the size of the Info.plist file NSBundle bundle..