Re: A wild OS X security hole appears!!!! [Was: Application library ?]
Re: A wild OS X security hole appears!!!! [Was: Application library ?]
- Subject: Re: A wild OS X security hole appears!!!! [Was: Application library ?]
- From: Shane Stanley <email@hidden>
- Date: Thu, 14 Jan 2016 11:39:23 +1100
On 14 Jan 2016, at 11:18 AM, has <email@hidden> wrote:
> Like I say, it would be fine having a 'Script Libraries' folder within an application bundle, *as long as* the 'tell' block *must* explicitly declare the application. i.e. This is safe code:
>
> tell script "Configuration Utility" of application "Apple Configurator"
> -- do stuff
> end tell
>
> But this (the current implementation) is not:
>
> tell script "Configuration Utility"
> -- do stuff
> end tell
FWIW, that strikes me as a reasonable change regardless of the severity or otherwise of any risk.
>
> As an added bonus, eliminating the second (current) form *drastically* reduces the number of folders that AppleScript's library loader has to scan when looking for libraries.
Only if it's not found higher up the search chain. But I wonder whether launch services keeps track of everything in apps' .../Library folder anyway (hence the use of the term "installed" apps).
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden