Can anyone Help me , How to enforce apple Security Policy in my application ,
Problem/Objective : i want to enforce a pass code in start of my application , so My Application Data is secured , is there any method , i can do that ?
Thanks Much Appreciated
Here's a good high level intro to get you started: Link (read comments on page) and this Link second.
Then you have two schools:
1.Use Apple iOS (security section) offered services to secure product.
2.Write your own / use non-Apple security API.
Pros:
Robust and a lot of help out there.
Not so popular, less attention from hackers.
Cons:
Hackers are very familiar with it as it is the most widely used solution.
May not be as strong or robust as (1).
You can always use a mix of both. Remember it's a game (fun?) of hide and seek with the cracker/hackers. Pick your tools wisely and be creative!
Good resources on the topic:
Whenever you want to secure something, you need some form of non-predictable randomness generation source. Date/Time is always a good start. Then iOS devices have GPS, gyroscope data among other things (again get creative), that ensures little to no collisions in generating unique ID's to each legal customer that paid for/supported the product. For example the unique ID could restructure the modules of the product in a way that it wouldn't work unless that "key" is there to direct the execution of program through the (post-altered) modules. These modules can hold resources (images, sounds etc.) or code.
Again, just thoughts to get you started!