I have an application that must be sandboxed.
It's not a difficult task, but I see that I cannot enable automatic start at login with LSSharedFileList editing the Session Login Items list.
Is there another way to enable start at login with App Sandbox enabled?
Android sandboxThe Android platform isolates apps from each other and protects them -- and the overall system -- from malicious apps and intruders. Android assigns a unique user ID (UID) to each application to create a kernel-level sandbox. This kernel ensures security between apps and the system at the process level.
An updated project/tutorial is available here, with addendums for some misleading Console messages you'll see under 10.8.2:
http://blog.timschroeder.net/2012/07/03/the-launch-at-login-sandbox-project/
I'm not the author, but the tutorial was very helpful in getting a start-at-login app configured under 10.8.2 w/ Sandboxing enabled.
Apple says:
Creating a Login Item for Your App To create a login item for your sandboxed app, use the
SMLoginItemSetEnabledfunction (declared inServiceManagement/SMLoginItem.h) as described in “Adding Login Items Using the Service Management Framework” in Daemons and Services Programming Guide.(With App Sandbox, you cannot create a login item using functions in the
LSSharedFileList.hheader file. For example, you cannot use the functionLSSharedFileListInsertItemURL. Nor can you manipulate the state of launch services, such as by using the functionLSRegisterURL.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With