Re: How to make an application non-executable?
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 15:54:58 -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?
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.