Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Rotemg

macrumors newbie
Original poster
Jan 16, 2012
5
0
Hello,
I am a new iphone programer.
If someone can explain to me or give me any refre to how i can prevent bufferoverflow, underflow or any other attack on my app I will be very gratefull.
 
Is there really a need to worry about that?

(That is a question. I don't know the answer. I had been under the impression that security against attacks wasn't really a concern for developers, that processes in iOS are so sandboxed that it's really apple, not the developer's, concern.)
 
I think if you are a new iPhone programmer, the least of your worries is attack vectors. Right now you should be concentrating on learning the fundamentals.
 
For starters, don't use C strings or malloc'd buffers for any user or network input. Use APIs that use NSStrings and NSData for all input.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.