Persistent properties [was Re: Save as application - run only]
Persistent properties [was Re: Save as application - run only]
- Subject: Persistent properties [was Re: Save as application - run only]
- From: Shane Stanley <email@hidden>
- Date: Wed, 11 Nov 2015 14:39:26 +1100
- X_v_e_cd: 143700be510cfa461169cafb91eb4b36
- X_v_r_cd: e42c12231327faea7cc98779a9b4eff0
On 11 Nov 2015, at 11:09 AM, Deivy Petrescu <email@hidden> wrote:
>
> AS is not shining when it comes to security
Indeed. The whole process by which properties are stored -- self-modifying code -- is in itself an amazing anachronism. One gets the feeling that at some stage, someone involved in security is going to say something like: "Tell me again why we are including code in the OS that produces applications that break one of our most basic security guidelines?"
But it's started already, of course. Apps signed for Gatekeeper don't store properties. Apps that use GUI scripting can't store properties. Apps that have Cocoa objects in top-level variables don't store properties. So it's probably a good time to consider not just storing things like passwords, but how to store basic preference values that should persist between runs. It would be nice to think that when the crunch comes, a compatible alternative will be offered, but I'm not holding my breath. And anyway, it's an issue now for many scripts.
--
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