• 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: Environment/permissions on NSTask-launched app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Environment/permissions on NSTask-launched app


  • Subject: Re: Environment/permissions on NSTask-launched app
  • From: Andrew Farmer <email@hidden>
  • Date: Tue, 25 Jul 2006 13:20:40 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25 Jul 06, at 01:47, Brad Peterson wrote:
Unfortunately, they also appear to give the correct
(that is, non-root user) information.  The parent app
is a server that communicates using a known network
port, and therefore (so it's been explained to me)
must run as root.

That's not quite true - you can use a SUID helper tool to bind the port, then pass that into the main app using a UNIX-domain socket. The improved security is more than worth the extra difficulty, IMO. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin)

iD8DBQFExn0YPa6RRaKl0ScRAmmpAJ0aS4+D6+MdX9XVPxPBRarKr54D2ACeIQ0f
HdHIu8ulyQSLX8m7N79FzAw=
=DYD3
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Environment/permissions on NSTask-launched app
      • From: Brad Peterson <email@hidden>
References: 
 >Re: Environment/permissions on NSTask-launched app (From: Brad Peterson <email@hidden>)

  • Prev by Date: Re: ZIP archives
  • Next by Date: Re: ZIP archives
  • Previous by thread: Re: Environment/permissions on NSTask-launched app
  • Next by thread: Re: Environment/permissions on NSTask-launched app
  • Index(es):
    • Date
    • Thread