• 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: Security framework question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Security framework question


  • Subject: Re: Security framework question
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 11 Jul 2001 14:55:37 +0200

On mercredi, juillet 11, 2001, at 02:29 PM, Andreas Monitzer wrote:

On Wednesday, July 11, 2001, at 01:23 , Ed Silva wrote:

Well, after some digging I found that keeping a tool in the App bundle isn'
t the only way to do it.

It turns out that if you make the application binary (ie: MyApp.app/Contents/MacOS/MyApp) sutuid root it works just fine. The way I figured this out was by looking at NetInfo Manager.app:

-rwsrwxr-x 1 root admin 175944 Jun 21 14:45 NetInfo Manager*

This seems much more reasonable to me than creating a separate tool to do the job, but I wonder if there are security consequences.

Any thoughts (good or bad) on a setuid root app binary?

1. It's a big security risk
2. You have to use Apple's Installer to distribute the App, which can cause many problems (like changed permissions somewhere, wiped /Applications or something else)

About case 2, I've also read that there might be some problems. But I haven't been able to see one after using Apple's Installer.

So what is really meant by "can cause" many problems ?


  • Follow-Ups:
    • Re: Security framework question
      • From: Andreas Monitzer <email@hidden>
References: 
 >Re: Security framework question (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Re: Dockling Menus - How do I do a submenu?
  • Next by Date: Re: Security framework question
  • Previous by thread: Re: Security framework question
  • Next by thread: Re: Security framework question
  • Index(es):
    • Date
    • Thread