• 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
Hiding String Constant in Compiled Code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hiding String Constant in Compiled Code


  • Subject: Hiding String Constant in Compiled Code
  • From: Richard Somers <email@hidden>
  • Date: Mon, 30 Nov 2009 07:48:42 -0700

Consider a string constant, @"string", in source code that also appears in the compiled unix executable file. If someone knew the value of the string they could easily open the executable with TextEdit, find the string, replace it with a perfectly functioning one of their own making, and then save the file and the application would run with the new string value.

Is there some way to easily hide or munge a string constant so that it does not appear in the compiled executable?

--Richard

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Hiding String Constant in Compiled Code
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: Apache Module
  • Next by Date: Re: NSWorkspace in a daemon
  • Previous by thread: Re: NSWorkspace in a daemon
  • Next by thread: Re: Hiding String Constant in Compiled Code
  • Index(es):
    • Date
    • Thread