Re: Is NSLog secure?
Re: Is NSLog secure?
- Subject: Re: Is NSLog secure?
- From: Greg <email@hidden>
- Date: Tue, 10 May 2005 11:21:15 +1000
#define DEBUG
in code somewhere
#ifdef DEBUG
NSLog(@"Some sensitive message");
#endif
Then all you have to do is either put the define in the development
build style or just comment out the #define when doing a deployment
build.
Greg
On 10/05/2005, at 10:54 AM, Ben Borofka wrote:
I'm writing a program that outputs some sensitive data via NSLog
(for debugging) that shouldn't be visible to the user. Is it OK to
leave all the places I use NSLog where they are, or should I take
them out? Is there anyways the user can grab or sniff what my
program is outputting?
I just use NSLog for debugging purposes when I'm running the
program in Xcode. It's convenient, so I can see what my program is
doing, but if there's anyway someone can get the data that is being
output with NSLog, I need to take it out.
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40framedphotographics.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden