Page 1 of 1

OSX : Sandboxed apps

Posted: Fri Nov 04, 2011 7:39 pm
by Polo
http://www.purebasic.fr/english/viewtop ... 32#p365632

Can our apps be sandboxed? I have no idea on how to do it, nor what it implies, but as this is requested by Apple it'd be nice that our Purebasic apps comply with this :)

Re: OSX : Sandboxed apps

Posted: Mon Nov 07, 2011 5:27 pm
by Zach
As to the implications:

A sandboxed application is an application that runs on a system, while effectively being cut off from accessing sensitive areas, without being given explicit permission. It is useful for controlling security risks, as well as protecting the rest of the system from a catastrophic crash situation.

Re: OSX : Sandboxed apps

Posted: Mon Nov 07, 2011 6:08 pm
by jamirokwai
Zach wrote:As to the implications:

A sandboxed application is an application that runs on a system, while effectively being cut off from accessing sensitive areas, without being given explicit permission. It is useful for controlling security risks, as well as protecting the rest of the system from a catastrophic crash situation.
So, you shouldn't write to anywhere on the hard drive, but only to a restricted area.
How do you keep your App clear of doing so? Better to say: How do you guarantee, your App won't write to system-areas?

PureBasic-Apps would disqualify themselves without a wrapper or container, I think!?

Re: OSX : Sandboxed apps

Posted: Mon Nov 07, 2011 7:29 pm
by Zach
PB Devs would have to ask Apple those questions. They are the ones who set the sandbox rules and parameters (obviously).

Only at that point could we really understand what we need to do on the programmer side of things.