• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is NSLog secure?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Is NSLog secure?
      • From: "Frank D. Engel, Jr." <email@hidden>
References: 
 >Is NSLog secure? (From: Ben Borofka <email@hidden>)

  • Prev by Date: Re: AGP cards supported by Core Image
  • Next by Date: Re: Locking Access to Windows
  • Previous by thread: Re: Is NSLog secure?
  • Next by thread: Re: Is NSLog secure?
  • Index(es):
    • Date
    • Thread