• 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: How to make an application non-executable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make an application non-executable?


  • Subject: Re: How to make an application non-executable?
  • From: Mario Diana <email@hidden>
  • Date: Fri, 16 Jul 2004 16:04:29 -0400

On Friday, July 16, 2004, at 03:15 PM, Bill Cheeseman wrote:

I'm looking for an easy way to make an application non-executable, for
example, by compressing or encrypting it. Any ideas?

I wrote before about the system call as an answer, but I think Cocoa provides an easier way.

NSFileManager has a method - changeFileAttributes:atPath:

I guess the real problem is knowing exactly what the path of the master app is? If the user places the setup application somewhere other than where you've anticipated, perhaps that messes things up.

Mario

=======================================================
Mario Diana Mobile: 845-380-8428
50 Forest Drive Home: 845-221-3989
Poughquag, NY 12570 Email: email@hidden
=======================================================
Programmer - Web development, Java, XML, LAMP, Mac OS X
=======================================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >How to make an application non-executable? (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: finding header files
  • Next by Date: Re: How to make an application non-executable?
  • Previous by thread: Re: How to make an application non-executable?
  • Next by thread: Re: How to make an application non-executable?
  • Index(es):
    • Date
    • Thread