• 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: Storing passwords in scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing passwords in scripts


  • Subject: Re: Storing passwords in scripts
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 21 Jan 2003 22:15:46 -0800

On 1/21/03 9:38 PM, "Jon Pugh" <email@hidden> wrote:

> So, here's a technique for disguising an embedded password which uses the
> openssl command's passwd function to encrypt a password. This won't be much
> use if you are storing a password to pass to other functions, like the admin
> password but it will work well for passwords which a script might use to
> prevent them from functioning, and won't be snoopable.

It works great, but there's an oddity: 'password' is an osax term, a
parameter of 'do shell script' in Standard Additions. (In fact, it's meant
to handle admin passwords without requiring dialogs. ;-) So Script Debugger
doesn't even list it as a property, although it does seem to treat it as
one. Still, better to avoid this namespace conflict, no? Any other variable
name, such as 'passwd', works just as well.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Storing passwords in scripts (From: Jon Pugh <email@hidden>)

  • Prev by Date: Storing passwords in scripts
  • Next by Date: Re: Textconverter?
  • Previous by thread: Storing passwords in scripts
  • Next by thread: Re: Storing passwords in scripts
  • Index(es):
    • Date
    • Thread