• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: read stored variables in run only script application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read stored variables in run only script application


  • Subject: Re: read stored variables in run only script application
  • From: "Nigel Garvey" <email@hidden>
  • Date: Tue, 15 Feb 2011 22:18:02 +0000

Luther Fuller wrote on Mon, 14 Feb 2011 15:11:20 -0600:

>On Feb 14, 2011, at 3:03 PM, Nigel Garvey wrote:
>
>> Hudson Barton wrote on Sun, 13 Feb 2011 20:55:20 -0500:
>>
>>> I would like to null out the values of variables as the script come to an
>>> end so they cannot be read by an intruder (set privatevariable to ""),
>but
>>> certain types of UI routines prevent me from doing it.  For example,
>>> "choose folder/file" has a Cancel button that I can't deactivate, and if
>>> the user hits that button, the script ends while leaving the variable
>>> un-erased.  Suggestions?
>>
>> Use local variables.
>
>That's right! Never modify a property; Don't use globals.

Never modifying a property will of course have no effect on its
readability by an intruder. Not having one at all will though.  ;)

NG

 _______________________________________________
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

  • Prev by Date: Re: Best practices
  • Next by Date: Re: Best practices
  • Previous by thread: Re: URL in Firefox
  • Next by thread: make new alias -- weird behavior
  • Index(es):
    • Date
    • Thread