Skip to main content

Sandbox restrictions

App Sandbox

As Ducklet is distributed through the Mac App Store, the App Sandbox capabiltiy is enabled.

From App Sandbox:

App Sandbox provides protection to system resources and user data by limiting your app’s access to resources requested through entitlements.

The App Sandbox prevents Ducklet from accessing files it does not own or that have not been explicitly selected by the user. Adding a database connection to a project and choosing the .sqlite file to use, signals user intent and enables Ducklet to access the file.

This has a number of implications:

  • .sqlite database files need to be explicitly chosen using the File Open dialog or by dragging files onto the application.
  • Using ATTACH only works with files that Ducklet has access to. For example database files that have already been added in a different database connection. If you want to use ATTACH in a SQL query, please add the file you want to attach as a new connection to the Ducklet project.