• 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: protected ports & sandboxing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: protected ports & sandboxing


  • Subject: Re: protected ports & sandboxing
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Wed, 09 Sep 2015 16:54:23 +0100

On 9 Sep 2015, at 10:20, Andreas Fink <email@hidden> wrote:

> What is the best approach to run a system daemon which listens on a protected port ( < 1000) while the App is delivered through the AppStore (and hence is sandboxed).

In addition to what Stéphane said, there's still no Mac App Store-compatible way for an app to bind to low-numbered ports.  The obvious approach, binding directly to the port, won't work because OS X still requires root for binding to low-numbered ports (despite the fact that we lifted that restriction on iOS years ago).  Other approaches, like using a launchd daemon privileged helper tool, are not compatible with the Mac App Store sandboxing requirements.

I'm sorry I don't have better news.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: protected ports & sandboxing
  • Next by Date: Re: protected ports & sandboxing
  • Previous by thread: Re: protected ports & sandboxing
  • Next by thread: Re: protected ports & sandboxing
  • Index(es):
    • Date
    • Thread