Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
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?



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?

Couldn't you use some C code to make a Unix system call, changing the executable bit to off for user, group, and others? You could then change it back when it comes time to install it.

The file I'm taking about is this:

MyMasterApp.app/Contents/MacOS/MyMasterApp

The system call would be found here:

% man 2 chmod

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.