

The simple AppleScript command choose file presents us with an open file dialog from which to pick files for use in a script. We can use Script Editor as an example of how the new protections are supposed to work. Many of these features are designed to stop Apple Events – the technology that underlies AppleScript, osascript, JXA (JavaScript for Automation), Automator, and a great deal of other interapplication communication – from accessing user data without explicit authorisation.

As we noted here, 10.14 ushers in a raft of new security-related features that will change the way many people interact with the Mac operating system. One of the signature features of Apple’s macOS Mojave is user safety. With Mojave’s security hardening, any local or remote user can bypass Apple’s new Full Disk Access requirement using ssh.
