Re: Environment/permissions on NSTask-launched app
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