Re: Snow Leopard osax security and 'run script' with parameters
Re: Snow Leopard osax security and 'run script' with parameters
- Subject: Re: Snow Leopard osax security and 'run script' with parameters
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 08 Jan 2010 11:25:33 -0800
- Thread-topic: Snow Leopard osax security and 'run script' with parameters
On 1/8/10 11:16 AM, "Mark J. Reed" wrote:
> But generating dynamic shell code is also different from generating
> dynamic AppleScript code, in that dynamic code processing is pretty
> much all the shell *does*. There's no compiler for shell scripts, at
> least not in general - the shell interpreter is nothing but an engine
> for processing plain text input as commands. As such, it's rather
> more efficient at it than AppleScript is.
Right, doesn't that make it less secure? The command in question could be
rewritten so that any code that does not test against the contents of a list
wouldn't compile and be rendered harmless.
The small point I was making was that the argument against dynamic code
generation was basically an argument in favor of other languages over
AppleScript.
For those of us who prefer AppleScript, dynamic code generation is often a
viable and working option, whether it's in the form of script objects, do
script commands or do shell script.
ES
_______________________________________________
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