• 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: 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.


References: 
 >Re: How to make an application non-executable? (From: Mario Diana <email@hidden>)

  • Prev by Date: Re: How to make an application non-executable?
  • 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