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: Bill Cheeseman <email@hidden>
- Date: Fri, 16 Jul 2004 18:06:29 -0400
on 2004-07-16 3:54 PM, Mario Diana at email@hidden wrote:
>
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.
That's one of the options I'm considering. But I don't know for sure that
somebody's attempt to launch the copy wouldn't end up trying to launch the
master, whereupon I would get a bad permissions error. I think it's unlikely
that a bad permissions error will cause the system to look for another copy
having good permissions.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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.